Skip to content

Commit 55a134f

Browse files
Bart Hijmanssdebacker
Bart Hijmans
authored andcommitted
Fixed incorrect typehinting
1 parent 046b150 commit 55a134f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NestableCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public function setParents(): self
186186
return $this;
187187
}
188188

189-
protected function setParentsRecursive(self &$items, &$parent = null): void
189+
protected function setParentsRecursive(BaseCollection &$items, &$parent = null): void
190190
{
191191
foreach ($items as $item) {
192192
if ($parent) {

0 commit comments

Comments
 (0)