@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | /** |
179 | 179 | * Sets / overwrites a specific config value. |
180 | 180 | * |
181 | - * @param mixed $value Value |
|
181 | + * @param string $value Value |
|
182 | 182 | */ |
183 | 183 | public function setConfigValue(string $key, $value): self |
184 | 184 | { |
@@ -186,8 +186,8 @@ discard block |
||
186 | 186 | } |
187 | 187 | |
188 | 188 | /** |
189 | - * @param array|string $keys config key or path of config keys |
|
190 | - * @param mixed $default default value will be returned if key was not found |
|
189 | + * @param string[] $keys config key or path of config keys |
|
190 | + * @param boolean $default default value will be returned if key was not found |
|
191 | 191 | * |
192 | 192 | * @return mixed |
193 | 193 | */ |
@@ -254,7 +254,7 @@ discard block |
||
254 | 254 | * |
255 | 255 | * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html |
256 | 256 | * |
257 | - * @param array|\Elastica\Document[] $docs Array of Elastica\Document |
|
257 | + * @param Document[] $docs Array of Elastica\Document |
|
258 | 258 | * |
259 | 259 | * @throws InvalidException If docs is empty |
260 | 260 | */ |
@@ -376,7 +376,7 @@ discard block |
||
376 | 376 | /** |
377 | 377 | * Bulk deletes documents. |
378 | 378 | * |
379 | - * @param array|\Elastica\Document[] $docs |
|
379 | + * @param Document[] $docs |
|
380 | 380 | * |
381 | 381 | * @throws InvalidException |
382 | 382 | */ |