From: Eugene Leonovich Date: Mon, 12 May 2014 14:12:37 +0000 (+0200) Subject: Remove unused constructor arguments X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=5b5741a7a4d887fb48f2351776ffbd118d872c79;p=konrad%2Ftwig.git Remove unused constructor arguments There are no `line` and `nodeTag` arguments in `Twig_Node_Module::__construct()` --- diff --git a/lib/Twig/Node/SandboxedModule.php b/lib/Twig/Node/SandboxedModule.php index be1f5da..0de4503 100644 --- a/lib/Twig/Node/SandboxedModule.php +++ b/lib/Twig/Node/SandboxedModule.php @@ -23,7 +23,7 @@ class Twig_Node_SandboxedModule extends Twig_Node_Module public function __construct(Twig_Node_Module $node, array $usedFilters, array $usedTags, array $usedFunctions) { - parent::__construct($node->getNode('body'), $node->getNode('parent'), $node->getNode('blocks'), $node->getNode('macros'), $node->getNode('traits'), $node->getAttribute('embedded_templates'), $node->getAttribute('filename'), $node->getLine(), $node->getNodeTag()); + parent::__construct($node->getNode('body'), $node->getNode('parent'), $node->getNode('blocks'), $node->getNode('macros'), $node->getNode('traits'), $node->getAttribute('embedded_templates'), $node->getAttribute('filename')); $this->setAttribute('index', $node->getAttribute('index'));