Rob Bast преди 10 години
родител
ревизия
290fafa156
променени са 1 файла, в които са добавени 14 реда и са изтрити 1 реда
  1. 14 1
      src/Composer/Command/InitCommand.php

+ 14 - 1
src/Composer/Command/InitCommand.php

@@ -33,12 +33,18 @@ use Symfony\Component\Process\ExecutableFinder;
  */
  */
 class InitCommand extends Command
 class InitCommand extends Command
 {
 {
+    /** @var CompositeRepository */
     protected $repos;
     protected $repos;
 
 
+    /** @var array */
     private $gitConfig;
     private $gitConfig;
-    private $pool;
 
 
+    /** @var Pool */
+    private $pool;
 
 
+    /**
+     * {@inheritdoc}
+     */
     protected function configure()
     protected function configure()
     {
     {
         $this
         $this
@@ -67,6 +73,9 @@ EOT
         ;
         ;
     }
     }
 
 
+    /**
+     * {@inheritdoc}
+     */
     protected function execute(InputInterface $input, OutputInterface $output)
     protected function execute(InputInterface $input, OutputInterface $output)
     {
     {
         $dialog = $this->getHelperSet()->get('dialog');
         $dialog = $this->getHelperSet()->get('dialog');
@@ -133,12 +142,16 @@ EOT
         }
         }
     }
     }
 
 
+    /**
+     * {@inheritdoc}
+     */
     protected function interact(InputInterface $input, OutputInterface $output)
     protected function interact(InputInterface $input, OutputInterface $output)
     {
     {
         $git = $this->getGitConfig();
         $git = $this->getGitConfig();
 
 
         $dialog = $this->getHelperSet()->get('dialog');
         $dialog = $this->getHelperSet()->get('dialog');
         $formatter = $this->getHelperSet()->get('formatter');
         $formatter = $this->getHelperSet()->get('formatter');
+
         $this->getIO()->writeError(array(
         $this->getIO()->writeError(array(
             '',
             '',
             $formatter->formatBlock('Welcome to the Composer config generator', 'bg=blue;fg=white', true),
             $formatter->formatBlock('Welcome to the Composer config generator', 'bg=blue;fg=white', true),