@@ -65,7 +65,7 @@ |
||
65 | 65 | * Similar to a usort except that if 2 priorities are equal, order is preserved. |
66 | 66 | * Shamelessly copied from http://php.net/manual/fr/function.usort.php#38827 |
67 | 67 | * |
68 | - * @param $array |
|
68 | + * @param Asset[] $array |
|
69 | 69 | * @param string $cmp_function |
70 | 70 | */ |
71 | 71 | private function stableSort(&$array, $cmp_function = 'strcmp') |
@@ -18,9 +18,9 @@ |
||
18 | 18 | protected function configure() |
19 | 19 | { |
20 | 20 | $this->setName('discovery:list') |
21 | - ->setDescription('List the values of the asset type passed in parameter (or list all asset types if no parameter is passed)') |
|
22 | - ->addArgument('asset-type', InputArgument::OPTIONAL, 'The asset type to list') |
|
23 | - ->addOption('format', null, InputOption::VALUE_REQUIRED, 'The output format (txt or json)', 'txt'); |
|
21 | + ->setDescription('List the values of the asset type passed in parameter (or list all asset types if no parameter is passed)') |
|
22 | + ->addArgument('asset-type', InputArgument::OPTIONAL, 'The asset type to list') |
|
23 | + ->addOption('format', null, InputOption::VALUE_REQUIRED, 'The output format (txt or json)', 'txt'); |
|
24 | 24 | } |
25 | 25 | |
26 | 26 | protected function execute(InputInterface $input, OutputInterface $output) |