@@ -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 | { |
@@ -65,7 +65,6 @@ discard block |
||
65 | 65 | * |
66 | 66 | * - tags_header Header for tagging responses, defaults to X-Cache-Tags |
67 | 67 | * |
68 | - * @param string $tagsHeader |
|
69 | 68 | */ |
70 | 69 | public function __construct( |
71 | 70 | array $servers, |
@@ -209,6 +208,8 @@ discard block |
||
209 | 208 | * @throws MissingHostException If a relative path is queued for purge/ |
210 | 209 | * refresh and no base URL is set |
211 | 210 | * |
211 | + * @param string $method |
|
212 | + * @param string $url |
|
212 | 213 | */ |
213 | 214 | protected function queueRequest($method, $url, array $headers = []) |
214 | 215 | { |