@@ -68,7 +68,7 @@ |
||
68 | 68 | * @param string $cacheDir A Symfony cache directory |
69 | 69 | * @param string $token A token to clear the related cache |
70 | 70 | * @param bool $phpCodeCacheEnabled If true, will clear OPcache code cache |
71 | - * @param array $types A cache types array |
|
71 | + * @param string[] $types A cache types array |
|
72 | 72 | * @param array $timeouts An array of timeout options |
73 | 73 | */ |
74 | 74 | public function __construct(RouterInterface $router, Filesystem $filesystem, string $cacheDir, string $token, bool $phpCodeCacheEnabled, array $types, array $servers, array $timeouts) |
@@ -60,6 +60,7 @@ |
||
60 | 60 | |
61 | 61 | /** |
62 | 62 | * @param string $purgeInstruction The purge instruction (purge in Varnish 2, ban in Varnish 3) |
63 | + * @param string $token |
|
63 | 64 | */ |
64 | 65 | public function __construct($token, array $servers, RouterInterface $router, string $purgeInstruction, ?ControllerResolverInterface $resolver = null) |
65 | 66 | { |