Skip to content

Commit

Permalink
fix: add missing unmatched conditions handler
Browse files Browse the repository at this point in the history
  • Loading branch information
yusuftaufiq committed Apr 19, 2022
1 parent 3bb3d0f commit 6734fb8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Visitors/MethodCallNodeVisitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ public function enterNode(Node $node)
$this->models[] = $node;

return NodeTraverser::DONT_TRAVERSE_CURRENT_AND_CHILDREN;

default:
return parent::enterNode($node);
}
}

Expand Down

0 comments on commit 6734fb8

Please sign in to comment.