@@ -38,8 +38,8 @@ |
||
38 | 38 | * |
39 | 39 | * @param int|string $id OPTIONAL $id Id is create if empty |
40 | 40 | * @param array|string $data OPTIONAL Data array |
41 | - * @param Type|string $type OPTIONAL Type name |
|
42 | - * @param Index|string $index OPTIONAL Index name |
|
41 | + * @param string $type OPTIONAL Type name |
|
42 | + * @param Index $index OPTIONAL Index name |
|
43 | 43 | */ |
44 | 44 | public function __construct($id = '', $data = [], $type = '', $index = '') |
45 | 45 | { |
@@ -434,7 +434,7 @@ discard block |
||
434 | 434 | /** |
435 | 435 | * Search in the set indices, types. |
436 | 436 | * |
437 | - * @param mixed $query |
|
437 | + * @param string $query |
|
438 | 438 | * @param int|array $options OPTIONAL Limit or associative array of options (option=>value) |
439 | 439 | * @param string $method OPTIONAL Request method (use const's) (default = Request::POST) |
440 | 440 | * |
@@ -470,7 +470,7 @@ discard block |
||
470 | 470 | } |
471 | 471 | |
472 | 472 | /** |
473 | - * @param mixed $query |
|
473 | + * @param string $query |
|
474 | 474 | * @param $fullResult (default = false) By default only the total hit count is returned. If set to true, the full ResultSet including aggregations is returned |
475 | 475 | * @param string $method OPTIONAL Request method (use const's) (default = Request::POST) |
476 | 476 | * |