We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 553ea2b commit ac70593Copy full SHA for ac70593
Twig/Visitor/RemovingNodeVisitor.php
@@ -36,7 +36,7 @@ public function setEnabled(bool $bool): void
36
protected function doEnterNode(Node $node, Environment $env): Node
37
{
38
if ($this->enabled && $node instanceof FilterExpression) {
39
- $name = $node->getNode('filter')->getAttribute('value');
+ $name = $node->getAttribute('twig_callable')->getName()
40
41
if ('desc' === $name || 'meaning' === $name) {
42
return $this->enterNode($node->getNode('node'), $env);
0 commit comments