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 e913ac2 commit 07c684cCopy full SHA for 07c684c
src/SelectTree.php
@@ -174,7 +174,7 @@ private function buildTree(int $parent = null): array|Collection
174
}
175
176
// Check if the treeModel is not set; if yes, return an empty collection.
177
- if (!$this->treeModel) {
+ if (! $this->treeModel) {
178
return collect();
179
180
@@ -183,7 +183,7 @@ private function buildTree(int $parent = null): array|Collection
183
->where($this->treeParentKey, $parent);
184
185
// If we're not at the root level and a modification callback is provided, apply it.
186
- if (!$parent && $this->modifyQueryUsing) {
+ if (! $parent && $this->modifyQueryUsing) {
187
$defaultQuery = $this->evaluate($this->modifyQueryUsing, ['query' => $defaultQuery]);
188
189
0 commit comments