diff --git a/Result/AbstractResultsIterator.php b/Result/AbstractResultsIterator.php index 5e357587..b1904d74 100644 --- a/Result/AbstractResultsIterator.php +++ b/Result/AbstractResultsIterator.php @@ -138,7 +138,7 @@ public function getAggregations() * * @param string $name * - * @return array + * @return array|null */ public function getAggregation($name) { @@ -252,7 +252,7 @@ protected function getConverter() * * @param mixed $key * - * @return mixed + * @return mixed|null */ protected function getDocument($key) { @@ -331,7 +331,7 @@ protected function page() /** * Returns score of current hit. * - * @return int + * @return int|null */ public function getDocumentScore() { @@ -349,7 +349,7 @@ public function getDocumentScore() /** * Returns sort of current hit. * - * @return mixed + * @return mixed|null */ public function getDocumentSort() {