Skip to content

Commit 54f1594

Browse files
authored
Update StringEval.php
Fix: Implicitly marking parameter $_template as nullable is deprecated, the explicit nullable type must be used instead
1 parent 0d33f3a commit 54f1594

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Resource/StringEval.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class StringEval extends RecompiledPlugin
3131
*
3232
* @return void
3333
*/
34-
public function populate(\Smarty\Template\Source $source, \Smarty\Template $_template = null)
34+
public function populate(\Smarty\Template\Source $source, ?\Smarty\Template $_template = null)
3535
{
3636
$source->uid = sha1($source->name);
3737
$source->timestamp = $source->exists = true;

0 commit comments

Comments
 (0)