This commit is contained in:
Fabien Potencier
2024-02-10 09:49:29 +01:00
parent 5a25ea338a
commit f7f11ea410
46 changed files with 78 additions and 79 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ use Twig\Compiler;
*/
class ForLoopNode extends Node
{
public function __construct(int $lineno, string $tag = null)
public function __construct(int $lineno, ?string $tag = null)
{
parent::__construct([], ['with_loop' => false, 'ifexpr' => false, 'else' => false], $lineno, $tag);
}