Skip to content

Commit 07c684c

Browse files
CodeWithDennisgithub-actions[bot]
authored andcommitted
Fix styling
1 parent e913ac2 commit 07c684c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SelectTree.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ private function buildTree(int $parent = null): array|Collection
174174
}
175175

176176
// Check if the treeModel is not set; if yes, return an empty collection.
177-
if (!$this->treeModel) {
177+
if (! $this->treeModel) {
178178
return collect();
179179
}
180180

@@ -183,7 +183,7 @@ private function buildTree(int $parent = null): array|Collection
183183
->where($this->treeParentKey, $parent);
184184

185185
// If we're not at the root level and a modification callback is provided, apply it.
186-
if (!$parent && $this->modifyQueryUsing) {
186+
if (! $parent && $this->modifyQueryUsing) {
187187
$defaultQuery = $this->evaluate($this->modifyQueryUsing, ['query' => $defaultQuery]);
188188
}
189189

0 commit comments

Comments
 (0)