Skip to content

Commit 4bfb19f

Browse files
CodeWithDennisgithub-actions[bot]
authored andcommitted
Fix styling
1 parent 3dd1254 commit 4bfb19f

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
@@ -93,7 +93,7 @@ private function buildTree($parent = null): array|Collection
9393
->where($this->getParentAttribute(), $parent);
9494

9595
// If we're not at the root level and a modification callback is provided, apply it to the query.
96-
if (!$parent && $this->modifyQueryUsing) {
96+
if (! $parent && $this->modifyQueryUsing) {
9797
$defaultQuery = $this->evaluate($this->modifyQueryUsing, ['query' => $defaultQuery]);
9898
}
9999

@@ -139,7 +139,7 @@ public function direction(string $direction): static
139139
return $this;
140140
}
141141

142-
public function parentNullValue(null|int|string $parentNullValue = null): static
142+
public function parentNullValue(int|string $parentNullValue = null): static
143143
{
144144
$this->parentNullValue = $parentNullValue;
145145

0 commit comments

Comments
 (0)