Skip to content

Commit db4678c

Browse files
Merge pull request #188 from stefket/fix/return-type
Fix return type
2 parents 47e5b27 + 948e65a commit db4678c

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
@@ -96,7 +96,7 @@ class SelectTree extends Field implements HasAffixActions
9696

9797
protected Closure|array|null $getTreeUsing = null;
9898

99-
protected LazyCollection|array|null $results = null;
99+
protected Collection|LazyCollection|array|null $results = null;
100100

101101
protected Closure|bool|null $multiple = null;
102102

@@ -563,7 +563,7 @@ public function getTree(): Collection|array
563563
);
564564
}
565565

566-
public function getResults(): Collection|array|null
566+
public function getResults(): Collection|LazyCollection|array|null
567567
{
568568
return $this->evaluate($this->results);
569569
}

0 commit comments

Comments
 (0)