@@ -131,7 +131,7 @@ |
||
| 131 | 131 | $types = is_array($types) ? $types : [$types]; |
| 132 | 132 | |
| 133 | 133 | $types = array_map( |
| 134 | - function ($type) { |
|
| 134 | + function($type) { |
|
| 135 | 135 | if ($type instanceof Type) { |
| 136 | 136 | $type = $type->getName(); |
| 137 | 137 | } |
@@ -207,7 +207,7 @@ discard block |
||
| 207 | 207 | * |
| 208 | 208 | * @param array $args OPTIONAL Additional arguments |
| 209 | 209 | * |
| 210 | - * @return array Server response |
|
| 210 | + * @return Response Server response |
|
| 211 | 211 | * |
| 212 | 212 | * @deprecated Replaced by forcemerge |
| 213 | 213 | * @link https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-optimize.html |
@@ -256,7 +256,7 @@ discard block |
||
| 256 | 256 | * @link https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html |
| 257 | 257 | * |
| 258 | 258 | * @param array $args OPTIONAL Arguments to use |
| 259 | - * @param bool|array $options OPTIONAL |
|
| 259 | + * @param boolean $options OPTIONAL |
|
| 260 | 260 | * bool=> Deletes index first if already exists (default = false). |
| 261 | 261 | * array => Associative array of options (option=>value) |
| 262 | 262 | * |