We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f2a859 commit c85ad1bCopy full SHA for c85ad1b
src/SelectTree.php
@@ -95,7 +95,7 @@ private function buildTree($parent = null): array|Collection
95
->where($this->getParentAttribute(), $parent);
96
97
// If we're not at the root level and a modification callback is provided, apply it to the query.
98
- if (!$parent && $this->modifyQueryUsing) {
+ if (! $parent && $this->modifyQueryUsing) {
99
$defaultQuery = $this->evaluate($this->modifyQueryUsing, ['query' => $defaultQuery]);
100
}
101
0 commit comments