Skip to content

Commit

Permalink
Fix Response\Elasticsearch::offsetGet() return type declaration
Browse files Browse the repository at this point in the history
Fixes #1384
  • Loading branch information
AnnaNtagiou committed Nov 30, 2023
1 parent 0b30cc0 commit 262086b
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 262086b

Please sign in to comment.