@@ -24,7 +24,7 @@ discard block |
||
| 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 |
||
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | - * @param Widget $widget |
|
| 36 | 35 | * |
| 37 | 36 | * @return string |
| 38 | 37 | */ |
@@ -4,11 +4,7 @@ |
||
| 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. |
@@ -4,7 +4,6 @@ |
||
| 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; |