Skip to content

Commit feb406a

Browse files
committed
Removed incorrect nullable return type from RecordCollection::findFirstCollection.
1 parent 26f4c9a commit feb406a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Collection/RecordCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function getPreviousCollection(): ?self
4343
return $this->previousCollection;
4444
}
4545

46-
public function findFirstCollection(): ?self
46+
public function findFirstCollection(): self
4747
{
4848
do {
4949
$previous = $nextPrevious ?? $this->getPreviousCollection();

0 commit comments

Comments
 (0)