Skip to content

Commit

Permalink
add more types for php 8.1 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
matthi4s committed Feb 10, 2022
1 parent f43dd22 commit a474d7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ModelCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function offsetExists($offset): bool
* @param mixed $offset
* @return ModelInterface
*/
public function offsetGet($offset)
public function offsetGet($offset): ModelInterface
{
return $this->models[$offset];
}
Expand Down

0 comments on commit a474d7b

Please sign in to comment.