@@ -262,7 +262,7 @@ |
||
| 262 | 262 | * @param array $properties |
| 263 | 263 | * @param string $annotation |
| 264 | 264 | * |
| 265 | - * @return string |
|
| 265 | + * @return boolean |
|
| 266 | 266 | */ |
| 267 | 267 | private function isUniqueAnnotation($properties, $annotation) |
| 268 | 268 | { |
@@ -72,6 +72,9 @@ |
||
| 72 | 72 | $container->setParameter(Configuration::ONGR_DEFAULT_INDEX, $defaultIndex); |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | + /** |
|
| 76 | + * @param string $directory |
|
| 77 | + */ |
|
| 75 | 78 | private function getNamespaces($directory): array |
| 76 | 79 | { |
| 77 | 80 | if (!is_dir($directory)) { |
@@ -217,8 +217,8 @@ discard block |
||
| 217 | 217 | * |
| 218 | 218 | * @param array $criteria Example: ['group' => ['best', 'worst'], 'job' => 'medic']. |
| 219 | 219 | * @param array|null $orderBy Example: ['name' => 'ASC', 'surname' => 'DESC']. |
| 220 | - * @param int|null $limit Default is 10. |
|
| 221 | - * @param int|null $offset Default is 0. |
|
| 220 | + * @param integer $limit Default is 10. |
|
| 221 | + * @param integer $offset Default is 0. |
|
| 222 | 222 | * |
| 223 | 223 | * @return array|DocumentIterator The objects. |
| 224 | 224 | */ |
@@ -261,6 +261,9 @@ discard block |
||
| 261 | 261 | return new Search(); |
| 262 | 262 | } |
| 263 | 263 | |
| 264 | + /** |
|
| 265 | + * @param string $scrollDuration |
|
| 266 | + */ |
|
| 264 | 267 | public function getScrollConfiguration($raw, $scrollDuration): array |
| 265 | 268 | { |
| 266 | 269 | $scrollConfig = []; |
@@ -59,6 +59,9 @@ |
||
| 59 | 59 | return $this->index; |
| 60 | 60 | } |
| 61 | 61 | |
| 62 | + /** |
|
| 63 | + * @return resource |
|
| 64 | + */ |
|
| 62 | 65 | protected function getFileHandler() |
| 63 | 66 | { |
| 64 | 67 | //Make sure the gzip option is resolved from a filename. |