Skip to content

Commit fef964f

Browse files
authored
Fix Response\Elasticsearch::offsetGet() return type declaration (#1385)
Fixes #1384
1 parent 3b0e0c9 commit fef964f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Response/Elasticsearch.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@ public function offsetExists($offset): bool
196196
* ArrayAccess interface
197197
*
198198
* @see https://www.php.net/manual/en/class.arrayaccess.php
199+
*
200+
* @return mixed
199201
*/
200202
#[\ReturnTypeWillChange]
201203
public function offsetGet($offset)

0 commit comments

Comments
 (0)