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 f3b3a3e commit eda3e82Copy full SHA for eda3e82
src/SelectTree.php
@@ -86,7 +86,7 @@ private function buildTree(int $parent = null): array|Collection
86
->where($this->getParentAttribute(), $parent);
87
88
// If we're not at the root level and a modification callback is provided, apply it to the query.
89
- if (!$parent && $this->modifyQueryUsing) {
+ if (! $parent && $this->modifyQueryUsing) {
90
$defaultQuery = $this->evaluate($this->modifyQueryUsing, ['query' => $defaultQuery]);
91
}
92
0 commit comments