@@ -86,6 +86,9 @@ |
||
| 86 | 86 | ); |
| 87 | 87 | } |
| 88 | 88 | |
| 89 | + /** |
|
| 90 | + * @param Widget $widget |
|
| 91 | + */ |
|
| 89 | 92 | private function generateHash($widget) |
| 90 | 93 | { |
| 91 | 94 | return sprintf('%s-%s-%s-%s', |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Predis\Client; |
| 6 | 6 | use Symfony\Component\Security\Core\Authorization\AuthorizationChecker; |
| 7 | -use Symfony\Component\Security\Core\SecurityContext; |
|
| 8 | 7 | use Victoire\Bundle\WidgetBundle\Entity\Widget; |
| 9 | 8 | use Victoire\Bundle\WidgetBundle\Entity\WidgetSlotInterface; |
| 10 | 9 | |
@@ -24,7 +24,6 @@ |
||
| 24 | 24 | * WidgetRenderer constructor. |
| 25 | 25 | * |
| 26 | 26 | * @param Container $container |
| 27 | - * @param Client $redis |
|
| 28 | 27 | * @param WidgetCache $widgetCache |
| 29 | 28 | */ |
| 30 | 29 | public function __construct(Container $container, WidgetCache $widgetCache) |