@@ -213,7 +213,7 @@ discard block |
||
213 | 213 | * Sets / overwrites a specific config value. |
214 | 214 | * |
215 | 215 | * @param string $key Key to set |
216 | - * @param mixed $value Value |
|
216 | + * @param string $value Value |
|
217 | 217 | * |
218 | 218 | * @return $this |
219 | 219 | */ |
@@ -223,8 +223,8 @@ discard block |
||
223 | 223 | } |
224 | 224 | |
225 | 225 | /** |
226 | - * @param array|string $keys config key or path of config keys |
|
227 | - * @param mixed $default default value will be returned if key was not found |
|
226 | + * @param string[] $keys config key or path of config keys |
|
227 | + * @param boolean $default default value will be returned if key was not found |
|
228 | 228 | * |
229 | 229 | * @return mixed |
230 | 230 | */ |
@@ -598,8 +598,8 @@ discard block |
||
598 | 598 | * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html |
599 | 599 | * |
600 | 600 | * @param array $ids Document ids |
601 | - * @param string|\Elastica\Index $index Index name |
|
602 | - * @param string|\Elastica\Type $type Type of documents |
|
601 | + * @param Index $index Index name |
|
602 | + * @param Type $type Type of documents |
|
603 | 603 | * @param string|bool $routing Optional routing key for all ids |
604 | 604 | * |
605 | 605 | * @throws \Elastica\Exception\InvalidException |
@@ -280,7 +280,7 @@ |
||
280 | 280 | * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html |
281 | 281 | * |
282 | 282 | * @param array $args OPTIONAL Arguments to use |
283 | - * @param bool|array $options OPTIONAL |
|
283 | + * @param boolean $options OPTIONAL |
|
284 | 284 | * bool=> Deletes index first if already exists (default = false). |
285 | 285 | * array => Associative array of options (option=>value) |
286 | 286 | * |
@@ -15,10 +15,10 @@ discard block |
||
15 | 15 | * @see http://php.net/manual/en/function.json-decode.php |
16 | 16 | * @see http://php.net/manual/en/function.json-last-error.php |
17 | 17 | * |
18 | - * @param string $args,... JSON string to parse |
|
19 | 18 | * |
20 | 19 | * @throws JSONParseException |
21 | 20 | * |
21 | + * @param string $args |
|
22 | 22 | * @return array PHP array representation of JSON string |
23 | 23 | */ |
24 | 24 | public static function parse($args/* inherit from json_decode */) |
@@ -49,7 +49,6 @@ discard block |
||
49 | 49 | * @see http://php.net/manual/en/function.json-encode.php |
50 | 50 | * @see http://php.net/manual/en/function.json-last-error.php |
51 | 51 | * |
52 | - * @param mixed $args,... Target to stringify |
|
53 | 52 | * |
54 | 53 | * @throws JSONParseException |
55 | 54 | * |