1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-05 08:23:28 +02:00

[ticket/16382] Update Twig_Node_Expression

PHPBB3-16382
This commit is contained in:
mrgoldy 2020-02-27 16:37:09 +01:00
parent 62a390582c
commit d334072722
3 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ class event extends \Twig_Node
/** @var \Twig_Environment */
protected $environment;
public function __construct(\Twig_Node_Expression $expr, \phpbb\template\twig\environment $environment, $lineno, $tag = null)
public function __construct(\Twig\Node\Expression\AbstractExpression $expr, \phpbb\template\twig\environment $environment, $lineno, $tag = null)
{
$this->environment = $environment;

View File

@ -15,7 +15,7 @@ namespace phpbb\template\twig\node;
abstract class includeasset extends \Twig_Node
{
public function __construct(\Twig_Node_Expression $expr, $lineno, $tag = null)
public function __construct(\Twig\Node\Expression\AbstractExpression $expr, $lineno, $tag = null)
{
parent::__construct(array('expr' => $expr), array(), $lineno, $tag);
}

View File

@ -19,7 +19,7 @@ class includephp extends \Twig_Node
/** @var \Twig_Environment */
protected $environment;
public function __construct(\Twig_Node_Expression $expr, \phpbb\template\twig\environment $environment, $lineno, $ignoreMissing = false, $tag = null)
public function __construct(\Twig\Node\Expression\AbstractExpression $expr, \phpbb\template\twig\environment $environment, $lineno, $ignoreMissing = false, $tag = null)
{
$this->environment = $environment;