@@ -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 | { |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
| 6 | 6 | use FOS\HttpCache\SymfonyCache\Tag\ManagerInterface; |
| 7 | -use Symfony\Component\OptionsResolver\OptionsResolver; |
|
| 8 | 7 | use Symfony\Component\HttpFoundation\Request; |
| 9 | 8 | use Symfony\Component\HttpFoundation\HeaderBag; |
| 10 | 9 | use Symfony\Component\HttpFoundation\JsonResponse; |