Skip to content

Commit c4ce890

Browse files
dunglasKocal
andauthored
Update src/Symfony/Component/ImportMaps/Command/AbstractCommand.php
Co-authored-by: Hugo Alliaume <kocal@live.fr>
1 parent 43c2c21 commit c4ce890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/ImportMaps/Command/AbstractCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ protected function configure(): void
2626
{
2727
$this
2828
->addOption('js-env', 'je', InputOption::VALUE_OPTIONAL, '"development" or "production"', Env::Production->value)
29-
->addOption('provider', 'p', InputOption::VALUE_OPTIONAL, '"jspm", "jspm.system", "skypack", "jsdelivr" or "unpkg"', Provider::Jspm->value, ['jspm', 'jspm.system', 'skypack', 'jsdelivr', 'unpkg'])
29+
->addOption('provider', 'p', InputOption::VALUE_OPTIONAL, '"jspm", "jspm.system", "skypack", "jsdelivr" or "unpkg"', Provider::Jspm->value, array_column(Provider::cases(), 'value')
3030
;
3131
}
3232
}

0 commit comments

Comments
 (0)