removed dead code

This commit is contained in:
Fabien Potencier
2019-03-07 14:29:23 +01:00
parent 64f7c02431
commit fbb79d7752
-16
View File
@@ -34,22 +34,6 @@ class SandboxedPrintNode extends PrintNode
->raw(");\n")
;
}
/**
* Removes node filters.
*
* This is mostly needed when another visitor adds filters (like the escaper one).
*
* @return Node
*/
private function removeNodeFilter(Node $node)
{
if ($node instanceof FilterExpression) {
return $this->removeNodeFilter($node->getNode('node'));
}
return $node;
}
}
class_alias('Twig\Node\SandboxedPrintNode', 'Twig_Node_SandboxedPrint');