Skip to content

Commit

Permalink
Fixed incorrect typehinting
Browse files Browse the repository at this point in the history
  • Loading branch information
Bart Hijmans authored and sdebacker committed Oct 19, 2022
1 parent 046b150 commit 55a134f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NestableCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public function setParents(): self
return $this;
}

protected function setParentsRecursive(self &$items, &$parent = null): void
protected function setParentsRecursive(BaseCollection &$items, &$parent = null): void
{
foreach ($items as $item) {
if ($parent) {
Expand Down

0 comments on commit 55a134f

Please sign in to comment.