Skip to content

Commit 048b0a7

Browse files
authored
Prevent deprecation warning (#75)
1 parent 56ac37d commit 048b0a7

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/Collection/ImmutableCollection.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,8 @@ public function offsetExists($offset): bool
265265

266266
/**
267267
* {@inheritdoc}
268-
*
269-
* @return mixed
270268
*/
271-
public function offsetGet($offset)
269+
public function offsetGet($offset): mixed
272270
{
273271
return $this->collection->offsetGet($offset);
274272
}

0 commit comments

Comments
 (0)