From e948664303b3692616e58581a64f7bb8f0bb55cf Mon Sep 17 00:00:00 2001 From: Serhii Polishchuk Date: Wed, 2 Oct 2019 08:53:15 +0300 Subject: [PATCH] Fixed documentation return block --- Result/AbstractResultsIterator.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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() {