Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
daftspunk committed Dec 8, 2023
1 parent 3a26aca commit 7b20015
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Database/TreeCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ public function listsNested($value, $key = null, $indent = '   ')
$result[] = $indentString . $item->{$value};
}

/*
* Add the children
*/
// Add the children
$childItems = $item->getChildren();
if ($childItems->count() > 0) {
$result = $result + $buildCollection($childItems, $depth + 1);
Expand Down

0 comments on commit 7b20015

Please sign in to comment.