Skip to content

Commit

Permalink
Removed incorrect nullable return type from RecordCollection::findFir…
Browse files Browse the repository at this point in the history
…stCollection.
  • Loading branch information
Bilge committed Aug 3, 2023
1 parent 26f4c9a commit feb406a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Collection/RecordCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function getPreviousCollection(): ?self
return $this->previousCollection;
}

public function findFirstCollection(): ?self
public function findFirstCollection(): self
{
do {
$previous = $nextPrevious ?? $this->getPreviousCollection();
Expand Down

0 comments on commit feb406a

Please sign in to comment.