Completed
Pull Request — master (#325)
by Tobias
03:41
created
CacheManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
      * Assign cache tags to a response
63 63
      *
64 64
      * @param Response $response
65
-     * @param array    $tags
65
+     * @param string[]    $tags
66 66
      * @param bool     $replace  Whether to replace the current tags on the
67 67
      *                           response
68 68
      *
Please login to merge, or discard this patch.
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.
Tests/Unit/SymfonyCache/EventDispatchingHttpCacheTest.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -154,6 +154,11 @@
 block discarded – undo
154 154
     private $request;
155 155
     private $response;
156 156
 
157
+    /**
158
+     * @param EventDispatchingHttpCacheTest $test
159
+     * @param Request $request
160
+     * @param Response $response
161
+     */
157 162
     public function __construct($test, $kernel, $request, $response = null)
158 163
     {
159 164
         $this->test = $test;
Please login to merge, or discard this patch.
Command/InvalidateTagCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      *
42 42
      * Passing CacheManager as argument is deprecated and will be restricted to TagHandler in 2.0.
43 43
      *
44
-     * @param TagHandler|CacheManager|null $tagHandler  The tag handler to talk to
44
+     * @param \Mockery\MockInterface $tagHandler  The tag handler to talk to
45 45
      * @param string                       $commandName Name of this command, in case you want to reuse it
46 46
      */
47 47
     public function __construct($tagHandler = null, $commandName = 'fos:httpcache:invalidate:tag')
Please login to merge, or discard this patch.