Skip to content

Commit 160bcb6

Browse files
CodeWithDennisgithub-actions[bot]
authored andcommitted
Fix styling
1 parent d47bc6c commit 160bcb6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/SelectTree.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,8 @@ public function prepend(Closure|array|null $prepend = null): static
318318
return $this;
319319
}
320320

321-
public function append(Closure|array|null $append = null): static {
321+
public function append(Closure|array|null $append = null): static
322+
{
322323
$this->append = $this->evaluate($append);
323324

324325
if (is_array($this->append) && isset($this->append['name'], $this->append['value'])) {
@@ -437,8 +438,8 @@ public function storeResults(bool $storeResults = true): static
437438
public function getTree(): Collection|array
438439
{
439440
return $this->evaluate($this->buildTree()
440-
->when($this->prepend, fn(Collection $tree) => $tree->prepend($this->evaluate($this->prepend)))
441-
->when($this->append, fn(Collection $tree) => $tree->push($this->evaluate($this->append)))
441+
->when($this->prepend, fn (Collection $tree) => $tree->prepend($this->evaluate($this->prepend)))
442+
->when($this->append, fn (Collection $tree) => $tree->push($this->evaluate($this->append)))
442443
);
443444
}
444445

0 commit comments

Comments
 (0)