mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/16382] Update Twig_Node_Expression
PHPBB3-16382
This commit is contained in:
@@ -24,7 +24,7 @@ class event extends \Twig_Node
|
|||||||
/** @var \Twig_Environment */
|
/** @var \Twig_Environment */
|
||||||
protected $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;
|
$this->environment = $environment;
|
||||||
|
|
||||||
|
@@ -15,7 +15,7 @@ namespace phpbb\template\twig\node;
|
|||||||
|
|
||||||
abstract class includeasset extends \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);
|
parent::__construct(array('expr' => $expr), array(), $lineno, $tag);
|
||||||
}
|
}
|
||||||
|
@@ -19,7 +19,7 @@ class includephp extends \Twig_Node
|
|||||||
/** @var \Twig_Environment */
|
/** @var \Twig_Environment */
|
||||||
protected $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;
|
$this->environment = $environment;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user