Skip to content

Commit

Permalink
Fix Response\Elasticsearch::offsetGet() return type declaration (#1385)
Browse files Browse the repository at this point in the history
Fixes #1384
  • Loading branch information
AnnaNtagiou authored Jan 25, 2024
1 parent 3b0e0c9 commit fef964f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Response/Elasticsearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ public function offsetExists($offset): bool
* ArrayAccess interface
*
* @see https://www.php.net/manual/en/class.arrayaccess.php
*
* @return mixed
*/
#[\ReturnTypeWillChange]
public function offsetGet($offset)
Expand Down

0 comments on commit fef964f

Please sign in to comment.