mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-05 08:23:28 +02:00
[ticket/16382] Update Twig_Compiler
PHPBB3-16382
This commit is contained in:
parent
2451c0a815
commit
b823a94124
@ -24,9 +24,9 @@ class definenode extends \Twig_Node
|
||||
/**
|
||||
* Compiles the node to PHP.
|
||||
*
|
||||
* @param \Twig_Compiler A Twig_Compiler instance
|
||||
* @param \Twig\Compiler A Twig_Compiler instance
|
||||
*/
|
||||
public function compile(\Twig_Compiler $compiler)
|
||||
public function compile(\Twig\Compiler $compiler)
|
||||
{
|
||||
$compiler->addDebugInfo($this);
|
||||
|
||||
|
@ -34,9 +34,9 @@ class event extends \Twig_Node
|
||||
/**
|
||||
* Compiles the node to PHP.
|
||||
*
|
||||
* @param \Twig_Compiler A Twig_Compiler instance
|
||||
* @param \Twig\Compiler A Twig_Compiler instance
|
||||
*/
|
||||
public function compile(\Twig_Compiler $compiler)
|
||||
public function compile(\Twig\Compiler $compiler)
|
||||
{
|
||||
$compiler->addDebugInfo($this);
|
||||
|
||||
|
@ -15,7 +15,7 @@ namespace phpbb\template\twig\node\expression\binary;
|
||||
|
||||
class equalequal extends \Twig_Node_Expression_Binary
|
||||
{
|
||||
public function operator(\Twig_Compiler $compiler)
|
||||
public function operator(\Twig\Compiler $compiler)
|
||||
{
|
||||
return $compiler->raw('===');
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ namespace phpbb\template\twig\node\expression\binary;
|
||||
|
||||
class notequalequal extends \Twig_Node_Expression_Binary
|
||||
{
|
||||
public function operator(\Twig_Compiler $compiler)
|
||||
public function operator(\Twig\Compiler $compiler)
|
||||
{
|
||||
return $compiler->raw('!==');
|
||||
}
|
||||
|
@ -23,9 +23,9 @@ abstract class includeasset extends \Twig_Node
|
||||
/**
|
||||
* Compiles the node to PHP.
|
||||
*
|
||||
* @param \Twig_Compiler A Twig_Compiler instance
|
||||
* @param \Twig\Compiler A Twig_Compiler instance
|
||||
*/
|
||||
public function compile(\Twig_Compiler $compiler)
|
||||
public function compile(\Twig\Compiler $compiler)
|
||||
{
|
||||
$compiler->addDebugInfo($this);
|
||||
|
||||
|
@ -18,9 +18,9 @@ class includenode extends \Twig_Node_Include
|
||||
/**
|
||||
* Compiles the node to PHP.
|
||||
*
|
||||
* @param \Twig_Compiler A Twig_Compiler instance
|
||||
* @param \Twig\Compiler A Twig_Compiler instance
|
||||
*/
|
||||
public function compile(\Twig_Compiler $compiler)
|
||||
public function compile(\Twig\Compiler $compiler)
|
||||
{
|
||||
$compiler->addDebugInfo($this);
|
||||
|
||||
|
@ -29,9 +29,9 @@ class includephp extends \Twig_Node
|
||||
/**
|
||||
* Compiles the node to PHP.
|
||||
*
|
||||
* @param \Twig_Compiler A Twig_Compiler instance
|
||||
* @param \Twig\Compiler A Twig_Compiler instance
|
||||
*/
|
||||
public function compile(\Twig_Compiler $compiler)
|
||||
public function compile(\Twig\Compiler $compiler)
|
||||
{
|
||||
$compiler->addDebugInfo($this);
|
||||
|
||||
|
@ -28,9 +28,9 @@ class php extends \Twig_Node
|
||||
/**
|
||||
* Compiles the node to PHP.
|
||||
*
|
||||
* @param \Twig_Compiler A Twig_Compiler instance
|
||||
* @param \Twig\Compiler A Twig_Compiler instance
|
||||
*/
|
||||
public function compile(\Twig_Compiler $compiler)
|
||||
public function compile(\Twig\Compiler $compiler)
|
||||
{
|
||||
$compiler->addDebugInfo($this);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user