@@ -192,7 +192,7 @@ discard block |
||
192 | 192 | * |
193 | 193 | * @param array $args OPTIONAL Additional arguments |
194 | 194 | * |
195 | - * @return array Server response |
|
195 | + * @return Response Server response |
|
196 | 196 | * |
197 | 197 | * @deprecated Replaced by forcemerge |
198 | 198 | * @link https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-optimize.html |
@@ -211,7 +211,7 @@ discard block |
||
211 | 211 | * |
212 | 212 | * @param array $args OPTIONAL Additional arguments |
213 | 213 | * |
214 | - * @return array Server response |
|
214 | + * @return Response Server response |
|
215 | 215 | * |
216 | 216 | * @link https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-forcemerge.html |
217 | 217 | */ |
@@ -238,7 +238,7 @@ discard block |
||
238 | 238 | * @link https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html |
239 | 239 | * |
240 | 240 | * @param array $args OPTIONAL Arguments to use |
241 | - * @param bool|array $options OPTIONAL |
|
241 | + * @param boolean $options OPTIONAL |
|
242 | 242 | * bool=> Deletes index first if already exists (default = false). |
243 | 243 | * array => Associative array of options (option=>value) |
244 | 244 | * |