@@ -62,7 +62,7 @@ |
||
62 | 62 | * Assign cache tags to a response |
63 | 63 | * |
64 | 64 | * @param Response $response |
65 | - * @param array $tags |
|
65 | + * @param string[] $tags |
|
66 | 66 | * @param bool $replace Whether to replace the current tags on the |
67 | 67 | * response |
68 | 68 | * |
@@ -413,6 +413,9 @@ |
||
413 | 413 | } |
414 | 414 | } |
415 | 415 | |
416 | + /** |
|
417 | + * @param string $msg |
|
418 | + */ |
|
416 | 419 | private function validateUrl($url, $msg) |
417 | 420 | { |
418 | 421 | $prefixed = $this->prefixSchema($url); |
@@ -154,6 +154,11 @@ |
||
154 | 154 | private $request; |
155 | 155 | private $response; |
156 | 156 | |
157 | + /** |
|
158 | + * @param EventDispatchingHttpCacheTest $test |
|
159 | + * @param Request $request |
|
160 | + * @param Response $response |
|
161 | + */ |
|
157 | 162 | public function __construct($test, $kernel, $request, $response = null) |
158 | 163 | { |
159 | 164 | $this->test = $test; |
@@ -41,7 +41,7 @@ |
||
41 | 41 | * |
42 | 42 | * Passing CacheManager as argument is deprecated and will be restricted to TagHandler in 2.0. |
43 | 43 | * |
44 | - * @param TagHandler|CacheManager|null $tagHandler The tag handler to talk to |
|
44 | + * @param \Mockery\MockInterface $tagHandler The tag handler to talk to |
|
45 | 45 | * @param string $commandName Name of this command, in case you want to reuse it |
46 | 46 | */ |
47 | 47 | public function __construct($tagHandler = null, $commandName = 'fos:httpcache:invalidate:tag') |