Completed
Pull Request — master (#290)
by Gavin
23:48 queued 12:12
created
src/Exception/InvalidUrlException.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
 
35 35
     /**
36 36
      * @param string $server  Invalid server
37
-     * @param array  $allowed Allowed URL parts
37
+     * @param string[]  $allowed Allowed URL parts
38 38
      *
39 39
      * @return self
40 40
      */
Please login to merge, or discard this patch.
src/SymfonyCache/CacheEvent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
      * Events that occur after the response is created provide the default response.
77 77
      * Event listeners can also set the response to make it available here.
78 78
      *
79
-     * @return Response|null The response if one was set.
79
+     * @return Response The response if one was set.
80 80
      */
81 81
     public function getResponse()
82 82
     {
Please login to merge, or discard this patch.
src/SymfonyCache/PurgeSubscriber.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -11,11 +11,8 @@
 block discarded – undo
11 11
 
12 12
 namespace FOS\HttpCache\SymfonyCache;
13 13
 
14
-use Symfony\Component\EventDispatcher\EventSubscriberInterface;
15
-use Symfony\Component\HttpFoundation\Request;
16 14
 use Symfony\Component\HttpFoundation\RequestMatcher;
17 15
 use Symfony\Component\HttpFoundation\Response;
18
-use Symfony\Component\HttpKernel\HttpKernelInterface;
19 16
 use Symfony\Component\OptionsResolver\OptionsResolver;
20 17
 
21 18
 /**
Please login to merge, or discard this patch.
src/ProxyClient/Varnish.php 2 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -179,6 +179,8 @@
 block discarded – undo
179 179
      * @throws MissingHostException If a relative path is queued for purge/
180 180
      *                              refresh and no base URL is set
181 181
      *
182
+     * @param string $method
183
+     * @param string $url
182 184
      */
183 185
     protected function queueRequest($method, $url, array $headers = [])
184 186
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 use FOS\HttpCache\ProxyClient\Invalidation\PurgeInterface;
18 18
 use FOS\HttpCache\ProxyClient\Invalidation\RefreshInterface;
19 19
 use FOS\HttpCache\ProxyClient\Invalidation\TagsInterface;
20
-use Http\Message\MessageFactory;
21 20
 
22 21
 /**
23 22
  * Varnish HTTP cache invalidator.
Please login to merge, or discard this patch.