Skip to content

Commit a474d7b

Browse files
committed
add more types for php 8.1 compatibility
1 parent f43dd22 commit a474d7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ModelCollection.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function offsetExists($offset): bool
9999
* @param mixed $offset
100100
* @return ModelInterface
101101
*/
102-
public function offsetGet($offset)
102+
public function offsetGet($offset): ModelInterface
103103
{
104104
return $this->models[$offset];
105105
}

0 commit comments

Comments
 (0)