Completed
Pull Request — master (#372)
by David
35:14
created
src/DependencyInjection/FOSHttpCacheExtension.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -413,6 +413,9 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Http/RuleMatcher.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,8 +36,8 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.
src/EventListener/CacheControlListener.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,10 +11,8 @@
 block discarded – undo
11 11
 
12 12
 namespace FOS\HttpCacheBundle\EventListener;
13 13
 
14
-use FOS\HttpCacheBundle\Http\ResponseMatcher\ResponseMatcherInterface;
15 14
 use FOS\HttpCacheBundle\Http\RuleMatcherInterface;
16 15
 use Symfony\Component\EventDispatcher\EventSubscriberInterface;
17
-use Symfony\Component\HttpFoundation\Request;
18 16
 use Symfony\Component\HttpFoundation\Response;
19 17
 use Symfony\Component\HttpKernel\Event\FilterResponseEvent;
20 18
 use Symfony\Component\HttpKernel\KernelEvents;
Please login to merge, or discard this patch.