@@ -64,7 +64,7 @@ |
||
| 64 | 64 | * @param string $cacheDir A Symfony cache directory |
| 65 | 65 | * @param string $token A token to clear the related cache |
| 66 | 66 | * @param bool $phpCodeCacheEnabled If true, will clear APC or PHP OPcache code cache |
| 67 | - * @param array $types A cache types array |
|
| 67 | + * @param string[] $types A cache types array |
|
| 68 | 68 | * @param array $servers An array of servers |
| 69 | 69 | */ |
| 70 | 70 | public function __construct(RouterInterface $router, Filesystem $filesystem, $cacheDir, $token, $phpCodeCacheEnabled, array $types, array $servers) |
@@ -14,7 +14,6 @@ |
||
| 14 | 14 | use Sonata\Cache\CacheAdapterInterface; |
| 15 | 15 | use Sonata\Cache\Exception\UnsupportedException; |
| 16 | 16 | use Symfony\Component\Filesystem\Filesystem; |
| 17 | -use Symfony\Component\HttpFoundation\Request; |
|
| 18 | 17 | use Symfony\Component\HttpFoundation\Response; |
| 19 | 18 | use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException; |
| 20 | 19 | use Symfony\Component\Routing\RouterInterface; |