You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$this->addArgument('type', InputArgument::OPTIONAL, sprintf('Which type of cache do you want to clear? Valid types are: %s', implode(', ', self::validTypes)));
38
+
$this->addArgument('type', InputArgument::OPTIONAL, sprintf('Which type of cache do you want to clear? Valid types are: %s', implode(', ', self::VALID_TYPES)));
39
39
$this->addArgument('service', InputArgument::OPTIONAL, 'If using type "provider" you must give a service id for the cache you want to clear.');
40
40
$this->setHelp(<<<EOD
41
41
@@ -149,12 +149,12 @@ protected function verifyArguments(InputInterface $input, OutputInterface $outpu
149
149
$type = 'all';
150
150
}
151
151
152
-
if (!in_array($type, self::validTypes)) {
152
+
if (!in_array($type, self::VALID_TYPES)) {
153
153
$output->writeln(
154
154
sprintf(
155
155
'<error>Type "%s" does not exist. Valid type are: %s.</error>',
0 commit comments