mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/16382] Update Twig_Node_Expression
PHPBB3-16382
This commit is contained in:
parent
62a390582c
commit
d334072722
3 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue