Skip to content

Commit

Permalink
removed dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Mar 12, 2019
1 parent e797635 commit 9f23f7c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/NodeTraverser.php
Expand Up @@ -40,10 +40,6 @@ public function __construct(Environment $env, array $visitors = [])

public function addVisitor(NodeVisitorInterface $visitor)
{
if (!isset($this->visitors[$visitor->getPriority()])) {
$this->visitors[$visitor->getPriority()] = [];
}

$this->visitors[$visitor->getPriority()][] = $visitor;
}

Expand Down

0 comments on commit 9f23f7c

Please sign in to comment.