diff --git a/src/Response/Elasticsearch.php b/src/Response/Elasticsearch.php index a8fe29dc7..2065ffc07 100644 --- a/src/Response/Elasticsearch.php +++ b/src/Response/Elasticsearch.php @@ -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) @@ -222,4 +224,4 @@ public function offsetUnset($offset): void { throw new ArrayAccessException('The array is reading only'); } -} \ No newline at end of file +}