Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Apr 30, 2024
1 parent 82f8864 commit d9aeefd
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/Node/ModuleNode.php
Expand Up @@ -482,19 +482,4 @@ protected function compileLoadTemplate(Compiler $compiler, $node, $var)
throw new \LogicException('Trait templates can only be constant nodes.');
}
}

private function hasNodeOutputNodes(Node $node): bool
{
if ($node instanceof NodeOutputInterface) {
return true;
}

foreach ($node as $child) {
if ($this->hasNodeOutputNodes($child)) {
return true;
}
}

return false;
}
}

0 comments on commit d9aeefd

Please sign in to comment.