@@ -140,7 +140,7 @@ discard block  | 
                                                    ||
| 140 | 140 | /**  | 
                                                        
| 141 | 141 | * Set the request options using "dot" notation.  | 
                                                        
| 142 | 142 | *  | 
                                                        
| 143 | - * @param string|array $key  | 
                                                        |
| 143 | + * @param string $key  | 
                                                        |
| 144 | 144 | * @param mixed $value  | 
                                                        
| 145 | 145 | * @return $this  | 
                                                        
| 146 | 146 | */  | 
                                                        
@@ -171,7 +171,7 @@ discard block  | 
                                                    ||
| 171 | 171 | /**  | 
                                                        
| 172 | 172 | * Remove one or many request options using "dot" notation.  | 
                                                        
| 173 | 173 | *  | 
                                                        
| 174 | - * @param array|string $keys  | 
                                                        |
| 174 | + * @param string $keys  | 
                                                        |
| 175 | 175 | * @return $this  | 
                                                        
| 176 | 176 | */  | 
                                                        
| 177 | 177 | public function removeOption($keys)  | 
                                                        
@@ -185,7 +185,7 @@ discard block  | 
                                                    ||
| 185 | 185 | * Set a request header.  | 
                                                        
| 186 | 186 | *  | 
                                                        
| 187 | 187 | * @param string $name  | 
                                                        
| 188 | - * @param mixed $value  | 
                                                        |
| 188 | + * @param string $value  | 
                                                        |
| 189 | 189 | * @return $this  | 
                                                        
| 190 | 190 | */  | 
                                                        
| 191 | 191 | public function header($name, $value)  | 
                                                        
@@ -250,7 +250,7 @@ discard block  | 
                                                    ||
| 250 | 250 | /**  | 
                                                        
| 251 | 251 | * Get data from the response.  | 
                                                        
| 252 | 252 | *  | 
                                                        
| 253 | - * @param string|\Closure $callback  | 
                                                        |
| 253 | + * @param string $callback  | 
                                                        |
| 254 | 254 | * @param array $parameters  | 
                                                        
| 255 | 255 | * @param mixed $default  | 
                                                        
| 256 | 256 | * @return mixed  | 
                                                        
@@ -377,7 +377,7 @@ discard block  | 
                                                    ||
| 377 | 377 | /**  | 
                                                        
| 378 | 378 | * Get all allowed magic request methods.  | 
                                                        
| 379 | 379 | *  | 
                                                        
| 380 | - * @return array  | 
                                                        |
| 380 | + * @return string[]  | 
                                                        |
| 381 | 381 | */  | 
                                                        
| 382 | 382 | protected function getMagicRequestMethods()  | 
                                                        
| 383 | 383 |      { | 
                                                        
@@ -389,7 +389,7 @@ discard block  | 
                                                    ||
| 389 | 389 | /**  | 
                                                        
| 390 | 390 | * Get all allowed magic response methods.  | 
                                                        
| 391 | 391 | *  | 
                                                        
| 392 | - * @return array  | 
                                                        |
| 392 | + * @return string[]  | 
                                                        |
| 393 | 393 | */  | 
                                                        
| 394 | 394 | protected function getMagicResponseMethods()  | 
                                                        
| 395 | 395 |      { |