@@ -190,7 +190,7 @@ |
||
| 190 | 190 | /** |
| 191 | 191 | * Returns parsed current line. |
| 192 | 192 | * |
| 193 | - * @return mixed |
|
| 193 | + * @return string |
|
| 194 | 194 | */ |
| 195 | 195 | public function current() |
| 196 | 196 | { |
@@ -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 | { |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | * |
| 135 | 135 | * @param \ReflectionProperty $property |
| 136 | 136 | * |
| 137 | - * @return Property|object|null |
|
| 137 | + * @return \ReflectionProperty |
|
| 138 | 138 | */ |
| 139 | 139 | private function getPropertyAnnotationData(\ReflectionProperty $property) |
| 140 | 140 | { |
@@ -325,6 +325,7 @@ discard block |
||
| 325 | 325 | * |
| 326 | 326 | * @param \ReflectionClass $reflectionClass |
| 327 | 327 | * @param string $property |
| 328 | + * @param string|null $propertyType |
|
| 328 | 329 | * |
| 329 | 330 | * @return array |
| 330 | 331 | */ |
@@ -88,7 +88,7 @@ |
||
| 88 | 88 | /** |
| 89 | 89 | * Returns total time queries took. |
| 90 | 90 | * |
| 91 | - * @return string |
|
| 91 | + * @return double |
|
| 92 | 92 | */ |
| 93 | 93 | public function getTime() |
| 94 | 94 | { |
@@ -186,8 +186,8 @@ discard block |
||
| 186 | 186 | * |
| 187 | 187 | * @param array $criteria Example: ['group' => ['best', 'worst'], 'job' => 'medic']. |
| 188 | 188 | * @param array|null $orderBy Example: ['name' => 'ASC', 'surname' => 'DESC']. |
| 189 | - * @param int|null $limit Default is 10. |
|
| 190 | - * @param int|null $offset Default is 0. |
|
| 189 | + * @param integer $limit Default is 10. |
|
| 190 | + * @param integer $offset Default is 0. |
|
| 191 | 191 | * |
| 192 | 192 | * @return array|DocumentIterator The objects. |
| 193 | 193 | */ |
@@ -240,6 +240,9 @@ discard block |
||
| 240 | 240 | return new Search(); |
| 241 | 241 | } |
| 242 | 242 | |
| 243 | + /** |
|
| 244 | + * @param string $scrollDuration |
|
| 245 | + */ |
|
| 243 | 246 | public function getScrollConfiguration($raw, $scrollDuration): array |
| 244 | 247 | { |
| 245 | 248 | $scrollConfig = []; |
@@ -478,6 +481,10 @@ discard block |
||
| 478 | 481 | return $this->getClient()->indices()->clearCache(['index' => $this->getIndexName()]); |
| 479 | 482 | } |
| 480 | 483 | |
| 484 | + /** |
|
| 485 | + * @param string $action |
|
| 486 | + * @param string $name |
|
| 487 | + */ |
|
| 481 | 488 | private function stopwatch($action, $name): void |
| 482 | 489 | { |
| 483 | 490 | if ($this->stopwatch && ($action == 'start' || $action == 'stop')) { |