Skip to content

Commit

Permalink
Fix nesting level too deep error #182
Browse files Browse the repository at this point in the history
  • Loading branch information
onigoetz committed Dec 29, 2019
1 parent 1c4cadf commit 13377c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/Tree/Root.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function isHotPath(Entry $node = null): bool {
}

foreach ($this->activeNode->getParents() as $parent) {
if ($node == $parent) {
if ($node === $parent) {
return true;
}
}
Expand Down

0 comments on commit 13377c5

Please sign in to comment.