@@ -207,7 +207,7 @@ discard block |
||
| 207 | 207 | /** |
| 208 | 208 | * Set the request options using "dot" notation. |
| 209 | 209 | * |
| 210 | - * @param string|array $key |
|
| 210 | + * @param string $key |
|
| 211 | 211 | * @param mixed $value |
| 212 | 212 | * @return $this |
| 213 | 213 | */ |
@@ -238,7 +238,7 @@ discard block |
||
| 238 | 238 | /** |
| 239 | 239 | * Remove one or many request options using "dot" notation. |
| 240 | 240 | * |
| 241 | - * @param array|string $keys |
|
| 241 | + * @param string $keys |
|
| 242 | 242 | * @return $this |
| 243 | 243 | */ |
| 244 | 244 | public function removeOption($keys) |
@@ -252,7 +252,7 @@ discard block |
||
| 252 | 252 | * Set a request header. |
| 253 | 253 | * |
| 254 | 254 | * @param string $name |
| 255 | - * @param mixed $value |
|
| 255 | + * @param string $value |
|
| 256 | 256 | * @return $this |
| 257 | 257 | */ |
| 258 | 258 | public function header($name, $value) |
@@ -328,7 +328,7 @@ discard block |
||
| 328 | 328 | /** |
| 329 | 329 | * Get data from the response. |
| 330 | 330 | * |
| 331 | - * @param string|\Closure $callback |
|
| 331 | + * @param string $callback |
|
| 332 | 332 | * @param mixed $parameters |
| 333 | 333 | * @param mixed $default |
| 334 | 334 | * @return mixed |
@@ -455,7 +455,7 @@ discard block |
||
| 455 | 455 | /** |
| 456 | 456 | * Get all allowed magic request methods. |
| 457 | 457 | * |
| 458 | - * @return array |
|
| 458 | + * @return string[] |
|
| 459 | 459 | */ |
| 460 | 460 | protected function getMagicRequestMethods() |
| 461 | 461 | { |
@@ -512,7 +512,7 @@ discard block |
||
| 512 | 512 | /** |
| 513 | 513 | * Get all allowed magic response methods. |
| 514 | 514 | * |
| 515 | - * @return array |
|
| 515 | + * @return string[] |
|
| 516 | 516 | */ |
| 517 | 517 | protected function getMagicResponseMethods() |
| 518 | 518 | { |