@@ -37,10 +37,10 @@ |
||
37 | 37 | /** |
38 | 38 | * Creates a new document. |
39 | 39 | * |
40 | - * @param int|string $id OPTIONAL $id Id is create if empty |
|
40 | + * @param string $id OPTIONAL $id Id is create if empty |
|
41 | 41 | * @param array|string $data OPTIONAL Data array |
42 | - * @param Type|string $type OPTIONAL Type name |
|
43 | - * @param Index|string $index OPTIONAL Index name |
|
42 | + * @param string $type OPTIONAL Type name |
|
43 | + * @param Index $index OPTIONAL Index name |
|
44 | 44 | */ |
45 | 45 | public function __construct($id = '', $data = array(), $type = '', $index = '') |
46 | 46 | { |
@@ -198,7 +198,7 @@ discard block |
||
198 | 198 | * |
199 | 199 | * @param array $args OPTIONAL Additional arguments |
200 | 200 | * |
201 | - * @return array Server response |
|
201 | + * @return Response Server response |
|
202 | 202 | * @deprecated Replaced by forcemerge |
203 | 203 | * |
204 | 204 | * @link https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-optimize.html |
@@ -215,7 +215,7 @@ discard block |
||
215 | 215 | * |
216 | 216 | * @param array $args OPTIONAL Additional arguments |
217 | 217 | * |
218 | - * @return array Server response |
|
218 | + * @return Response Server response |
|
219 | 219 | * |
220 | 220 | * @link https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-forcemerge.html |
221 | 221 | */ |
@@ -242,7 +242,7 @@ discard block |
||
242 | 242 | * @link https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html |
243 | 243 | * |
244 | 244 | * @param array $args OPTIONAL Arguments to use |
245 | - * @param bool|array $options OPTIONAL |
|
245 | + * @param boolean $options OPTIONAL |
|
246 | 246 | * bool=> Deletes index first if already exists (default = false). |
247 | 247 | * array => Associative array of options (option=>value) |
248 | 248 | * |
@@ -491,7 +491,6 @@ discard block |
||
491 | 491 | /** |
492 | 492 | * Flushes the index to storage. |
493 | 493 | * |
494 | - * @param bool $refresh |
|
495 | 494 | * |
496 | 495 | * @return Response Response object |
497 | 496 | * |
@@ -435,7 +435,7 @@ |
||
435 | 435 | /** |
436 | 436 | * Sets post_filter argument for the query. The filter is applied after the query has executed. |
437 | 437 | * |
438 | - * @param array|\Elastica\Query\AbstractQuery $filter |
|
438 | + * @param AbstractQuery $filter |
|
439 | 439 | * |
440 | 440 | * @return $this |
441 | 441 | * |