@@ -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); |
@@ -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') |
@@ -84,7 +84,6 @@ |
||
| 84 | 84 | * |
| 85 | 85 | * @param string $uri Request URL (absolute or relative) |
| 86 | 86 | * @param array $headers Request HTTP headers |
| 87 | - * @param array $options Request options |
|
| 88 | 87 | * |
| 89 | 88 | * @return ResponseInterface |
| 90 | 89 | */ |