Completed
Pull Request — master (#257)
by David de
04:22
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, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.