Completed
Pull Request — master (#253)
by Daniel
04:07
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/ProxyClient/Request/RequestQueue.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      * Constructor
47 47
      *
48 48
      * @param array $servers
49
-     * @param null  $baseUri
49
+     * @param string  $baseUri
50 50
      */
51 51
     public function __construct(
52 52
         array $servers,
Please login to merge, or discard this patch.
src/ProxyClient/Varnish.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -60,6 +60,7 @@  discard block
 block discarded – undo
60 60
 
61 61
     /**
62 62
      * {@inheritdoc}
63
+     * @param string $baseUri
63 64
      */
64 65
     public function __construct(
65 66
         array $servers,
@@ -190,6 +191,8 @@  discard block
 block discarded – undo
190 191
      * @throws MissingHostException If a relative path is queued for purge/
191 192
      *                              refresh and no base URL is set
192 193
      *
194
+     * @param string $method
195
+     * @param string $url
193 196
      */
194 197
     protected function queueRequest($method, $url, array $headers = [])
195 198
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use FOS\HttpCache\ProxyClient\Invalidation\RefreshInterface;
19 19
 use FOS\HttpCache\ProxyClient\Invalidation\TagsInterface;
20 20
 use FOS\HttpCache\ProxyClient\Request\InvalidationRequest;
21
-use FOS\HttpCache\ProxyClient\Request\RequestQueue;
22 21
 use Http\Adapter\HttpAdapter;
23 22
 
24 23
 /**
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/Test/HttpClient/MockHttpAdapter.php 1 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 Http\Adapter\Exception\MultiHttpAdapterException;
6 6
 use Http\Adapter\HttpAdapter;
7
-use GuzzleHttp\Psr7\Response;
8 7
 use Http\Discovery\MessageFactoryDiscovery;
9 8
 use Psr\Http\Message\RequestInterface;
10 9
 use Psr\Http\Message\ResponseInterface;
Please login to merge, or discard this patch.
src/SymfonyCache/Tag/RemotePurger.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace FOS\HttpCache\SymfonyCache\Tag;
4 4
 
5
-use Symfony\Component\HttpFoundation\Request;
6
-
7 5
 class RemotePurger
8 6
 {
9 7
     private $purgeUrls;
Please login to merge, or discard this patch.
src/SymfonyCache/TagSubscriber.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,6 @@
 block discarded – undo
48 48
 
49 49
     /**
50 50
      * @param ManagerInterface $tagManager
51
-     * @param mixed $options
52 51
      */
53 52
     public function __construct(ManagerInterface $tagManager)
54 53
     {
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.