@@ -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); |
@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use FOS\HttpCache\CacheInvalidator; |
15 | 15 | use FOS\HttpCache\ProxyClient\ProxyClient; |
16 | -use Symfony\Component\HttpFoundation\Response; |
|
17 | 16 | use Symfony\Component\Routing\Generator\UrlGeneratorInterface; |
18 | 17 | |
19 | 18 | /** |
@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace FOS\HttpCacheBundle\EventListener; |
13 | 13 | |
14 | 14 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
15 | -use Symfony\Component\HttpFoundation\Request; |
|
16 | 15 | use Symfony\Component\HttpFoundation\Response; |
17 | 16 | use Symfony\Component\HttpKernel\Event\FilterResponseEvent; |
18 | 17 | use Symfony\Component\HttpKernel\KernelEvents; |
@@ -36,8 +36,8 @@ |
||
36 | 36 | private $responseMatcher; |
37 | 37 | |
38 | 38 | /** |
39 | - * @param RequestMatcherInterface $requestMatcher|null Request matcher |
|
40 | - * @param ResponseMatcherInterface $responseMatcher|null Response matcher |
|
39 | + * @param RequestMatcherInterface $requestMatcher Request matcher |
|
40 | + * @param ResponseMatcherInterface $responseMatcher Response matcher |
|
41 | 41 | */ |
42 | 42 | public function __construct( |
43 | 43 | RequestMatcherInterface $requestMatcher = null, |