Yaffs site version 1.1
[yaffs-website] / vendor / drupal / console-core / src / Command / ListCommand.php
index 8ea58ebab5f2866cfaf2019c8c833502a882d815..883c3d42ba4b0281a8073cf746497ecd77fd7183 100644 (file)
@@ -17,6 +17,7 @@ use Drupal\Console\Core\Style\DrupalStyle;
 
 /**
  * Class ListCommand
+ *
  * @package Drupal\Console\Core\Command
  */
 class ListCommand extends Command
@@ -76,12 +77,12 @@ class ListCommand extends Command
     private function createDefinition()
     {
         return new InputDefinition(
-            array(
+            [
                 new InputArgument('namespace', InputArgument::OPTIONAL, $this->trans('commands.list.arguments.namespace')),
                 new InputOption('xml', null, InputOption::VALUE_NONE, $this->trans('commands.list.options.xml')),
                 new InputOption('raw', null, InputOption::VALUE_NONE, $this->trans('commands.list.options.raw')),
                 new InputOption('format', null, InputOption::VALUE_REQUIRED, $this->trans('commands.list.options.format'), 'txt'),
-            )
+            ]
         );
     }
 }