Skip to content

Commit

Permalink
set return type to Runnable for offsetGet
Browse files Browse the repository at this point in the history
  • Loading branch information
matthi4s committed Feb 17, 2022
1 parent 5e55768 commit 1a04501
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Pool.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,7 @@ public function offsetExists($offset): bool
return false;
}

#[\ReturnTypeWillChange]
public function offsetGet($offset)
public function offsetGet($offset): Runnable
{
// TODO
}
Expand Down

0 comments on commit 1a04501

Please sign in to comment.