Completed
Pull Request — master (#5)
by David
02:10
created
src/AssetType.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
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')
Please login to merge, or discard this patch.
src/Commands/ListAssetTypesCommand.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,9 +18,9 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.