@@ -161,7 +161,7 @@ discard block |
||
| 161 | 161 | /** |
| 162 | 162 | * Remove request options using "dot" notation. |
| 163 | 163 | * |
| 164 | - * @param string|array|null $key |
|
| 164 | + * @param string $key |
|
| 165 | 165 | * @return $this |
| 166 | 166 | */ |
| 167 | 167 | public function removeOptions($key = null) |
@@ -189,7 +189,7 @@ discard block |
||
| 189 | 189 | /** |
| 190 | 190 | * Set a request option using "dot" notation. |
| 191 | 191 | * |
| 192 | - * @param string|array $key |
|
| 192 | + * @param string $key |
|
| 193 | 193 | * @param mixed $value |
| 194 | 194 | * @return $this |
| 195 | 195 | */ |
@@ -208,7 +208,7 @@ discard block |
||
| 208 | 208 | * Set the request header. |
| 209 | 209 | * |
| 210 | 210 | * @param string $name |
| 211 | - * @param mixed $value |
|
| 211 | + * @param string $value |
|
| 212 | 212 | * @return $this |
| 213 | 213 | */ |
| 214 | 214 | public function header($name, $value) |
@@ -273,7 +273,7 @@ discard block |
||
| 273 | 273 | /** |
| 274 | 274 | * Get data from the response. |
| 275 | 275 | * |
| 276 | - * @param string|\Closure $callback |
|
| 276 | + * @param string $callback |
|
| 277 | 277 | * @param array $parameters |
| 278 | 278 | * @param mixed $default |
| 279 | 279 | * @return mixed |
@@ -380,7 +380,7 @@ discard block |
||
| 380 | 380 | /** |
| 381 | 381 | * Get the dynamic response methods. |
| 382 | 382 | * |
| 383 | - * @return array |
|
| 383 | + * @return string[] |
|
| 384 | 384 | */ |
| 385 | 385 | protected function getDynamicResponseMethods() |
| 386 | 386 | { |