Skip to content

Commit 14a2820

Browse files
committed
parentheses 2#
1 parent 93b8d15 commit 14a2820

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/SelectTree.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ public function getTreeUsing(Closure|array $value): static
552552

553553
public function getTree(): Collection
554554
{
555-
return (Collection::wrap($this->evaluate($this->getTreeUsing)) ?? $this->buildTree())
555+
return Collection::wrap($this->evaluate($this->getTreeUsing) ?? $this->buildTree())
556556
->when($this->prepend, fn (Collection $tree) => $tree->prepend($this->evaluate($this->prepend)))
557557
->when($this->append, fn (Collection $tree) => $tree->push($this->evaluate($this->append)));
558558
}

0 commit comments

Comments
 (0)