Skip to content

Commit ebbfe47

Browse files
CodeWithDennisgithub-actions[bot]
authored andcommitted
Fix styling
1 parent a79b8b3 commit ebbfe47

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/SelectTree.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -537,8 +537,8 @@ public function getTreeUsing(Closure|array $value): static
537537
public function getTree(): Collection
538538
{
539539
return Collection::wrap($this->evaluate($this->getTreeUsing) ?? $this->buildTree())
540-
->when(filled($this->prepend), fn(Collection $tree) => $tree->prepend($this->getPrependedItems()))
541-
->when(filled($this->append), fn(Collection $tree) => $tree->push($this->getAppendedItems()));
540+
->when(filled($this->prepend), fn (Collection $tree) => $tree->prepend($this->getPrependedItems()))
541+
->when(filled($this->append), fn (Collection $tree) => $tree->push($this->getAppendedItems()));
542542
}
543543

544544
public function getResults(): Collection|LazyCollection|array|null
@@ -614,7 +614,7 @@ public function getAppendedItems(): ?array
614614
} elseif (is_null($appendedItems)) {
615615
// Avoid throwing an exception in case $append is explicitly set to null, or a Closure evaluates to null.
616616
} else {
617-
throw new \InvalidArgumentException('The provided append value must be an array with "name" and "value" keys.');
617+
throw new InvalidArgumentException('The provided append value must be an array with "name" and "value" keys.');
618618
}
619619

620620
return $appendedItems;

0 commit comments

Comments
 (0)