Completed
Pull Request — master (#362)
by Paul
08:59 queued 02:20
created
Bundle/WidgetBundle/Cache/WidgetCacheClearer.php 2 patches
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     /**
25 25
      * WidgetCache constructor.
26 26
      *
27
-     * @param Client               $cache
27
+     * @param WidgetCache               $cache
28 28
      */
29 29
     public function __construct(WidgetCache $cache)
30 30
     {
@@ -32,7 +32,6 @@  discard block
 block discarded – undo
32 32
     }
33 33
 
34 34
     /**
35
-     * @param Widget $widget
36 35
      *
37 36
      * @return string
38 37
      */
Please login to merge, or discard this patch.
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -4,11 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Predis\Client;
6 6
 use Symfony\Component\HttpKernel\CacheClearer\CacheClearerInterface;
7
-use Symfony\Component\Security\Core\Authorization\AuthorizationChecker;
8
-use Victoire\Bundle\CoreBundle\Cache\VictoireCache;
9 7
 use Victoire\Bundle\WidgetBundle\Entity\Widget;
10
-use Victoire\Bundle\WidgetBundle\Entity\WidgetSlotInterface;
11
-use Victoire\Bundle\WidgetBundle\Helper\WidgetHelper;
12 8
 
13 9
 /**
14 10
  * This class handle the saving of Widgets.
Please login to merge, or discard this patch.
Bundle/WidgetBundle/Controller/WidgetCacheController.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 Exception;
6 6
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
7
-use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security;
8 7
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
9 8
 use Symfony\Component\Security\Core\Exception\AccessDeniedException;
10 9
 use Symfony\Component\HttpFoundation\Response;
Please login to merge, or discard this patch.