aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/template/twig/node/php.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2013-09-25 07:50:22 -0700
committerNils Adermann <naderman@naderman.de>2013-09-25 07:50:22 -0700
commit8da31332381b572f8d03c63d4c32a4f32ed8775f (patch)
tree1ef729ea3700bae463cd57b672e8de12311fe00d /phpBB/phpbb/template/twig/node/php.php
parent717e2337b9276d9f9680110dff552ea536d0723c (diff)
parent645bd127dd53300b7877b779226ac53a4891620c (diff)
downloadforums-8da31332381b572f8d03c63d4c32a4f32ed8775f.tar
forums-8da31332381b572f8d03c63d4c32a4f32ed8775f.tar.gz
forums-8da31332381b572f8d03c63d4c32a4f32ed8775f.tar.bz2
forums-8da31332381b572f8d03c63d4c32a4f32ed8775f.tar.xz
forums-8da31332381b572f8d03c63d4c32a4f32ed8775f.zip
Merge pull request #1565 from naderman/ticket/11700
[WIP][ticket/11700] Namespaces
Diffstat (limited to 'phpBB/phpbb/template/twig/node/php.php')
-rw-r--r--phpBB/phpbb/template/twig/node/php.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/phpBB/phpbb/template/twig/node/php.php b/phpBB/phpbb/template/twig/node/php.php
index c11539ea7f..b37759303d 100644
--- a/phpBB/phpbb/template/twig/node/php.php
+++ b/phpBB/phpbb/template/twig/node/php.php
@@ -7,6 +7,8 @@
*
*/
+namespace phpbb\template\twig\node;
+
/**
* @ignore
*/
@@ -16,12 +18,12 @@ if (!defined('IN_PHPBB'))
}
-class phpbb_template_twig_node_php extends Twig_Node
+class php extends \Twig_Node
{
/** @var Twig_Environment */
protected $environment;
- public function __construct(Twig_Node_Text $text, phpbb_template_twig_environment $environment, $lineno, $tag = null)
+ public function __construct(\Twig_Node_Text $text, \phpbb\template\twig\environment $environment, $lineno, $tag = null)
{
$this->environment = $environment;
@@ -33,7 +35,7 @@ class phpbb_template_twig_node_php extends Twig_Node
*
* @param Twig_Compiler A Twig_Compiler instance
*/
- public function compile(Twig_Compiler $compiler)
+ public function compile(\Twig_Compiler $compiler)
{
$compiler->addDebugInfo($this);