mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/16654] Upgrade Twig to version 3
PHPBB3-16654
This commit is contained in:
@@ -15,7 +15,7 @@ namespace phpbb\template\twig\node\expression\binary;
|
||||
|
||||
class equalequal extends \Twig\Node\Expression\Binary\AbstractBinary
|
||||
{
|
||||
public function operator(\Twig\Compiler $compiler)
|
||||
public function operator(\Twig\Compiler $compiler) : \Twig\Compiler
|
||||
{
|
||||
return $compiler->raw('===');
|
||||
}
|
||||
|
@@ -15,7 +15,7 @@ namespace phpbb\template\twig\node\expression\binary;
|
||||
|
||||
class notequalequal extends \Twig\Node\Expression\Binary\AbstractBinary
|
||||
{
|
||||
public function operator(\Twig\Compiler $compiler)
|
||||
public function operator(\Twig\Compiler $compiler) : \Twig\Compiler
|
||||
{
|
||||
return $compiler->raw('!==');
|
||||
}
|
||||
|
Reference in New Issue
Block a user