1
0
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:
mrgoldy 2020-02-27 16:31:09 +01:00
parent 2451c0a815
commit b823a94124
8 changed files with 14 additions and 14 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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('===');
}

View File

@ -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('!==');
}

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);