Pārlūkot izejas kodu

Remove unused variable $dialog from RequireCommand::configure

I traced the get and getHelperSet to Symfony's Console\Command and Console\Helper\HelperSet, and there was only stored variables being retrieved (no actions being done that'd require these functions to be called).
John Long 12 gadi atpakaļ
vecāks
revīzija
4d6910ece6
1 mainītis faili ar 0 papildinājumiem un 2 dzēšanām
  1. 0 2
      src/Composer/Command/RequireCommand.php

+ 0 - 2
src/Composer/Command/RequireCommand.php

@@ -70,8 +70,6 @@ EOT
             return 1;
         }
 
-        $dialog = $this->getHelperSet()->get('dialog');
-
         $json = new JsonFile($file);
         $composer = $json->read();
         $composerBackup = file_get_contents($json->getPath());