@@ -34,7 +34,7 @@ |
||
34 | 34 | |
35 | 35 | /** |
36 | 36 | * @param string $server Invalid server |
37 | - * @param array $allowed Allowed URL parts |
|
37 | + * @param string[] $allowed Allowed URL parts |
|
38 | 38 | * |
39 | 39 | * @return self |
40 | 40 | */ |
@@ -76,7 +76,7 @@ |
||
76 | 76 | * Events that occur after the response is created provide the default response. |
77 | 77 | * Event listeners can also set the response to make it available here. |
78 | 78 | * |
79 | - * @return Response|null The response if one was set. |
|
79 | + * @return Response The response if one was set. |
|
80 | 80 | */ |
81 | 81 | public function getResponse() |
82 | 82 | { |
@@ -179,6 +179,8 @@ |
||
179 | 179 | * @throws MissingHostException If a relative path is queued for purge/ |
180 | 180 | * refresh and no base URL is set |
181 | 181 | * |
182 | + * @param string $method |
|
183 | + * @param string $url |
|
182 | 184 | */ |
183 | 185 | protected function queueRequest($method, $url, array $headers = []) |
184 | 186 | { |