Jordi Boggiano hace 7 años
padre
commit
535e7262e4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Composer/Command/HomeCommand.php

+ 1 - 1
src/Composer/Command/HomeCommand.php

@@ -64,7 +64,7 @@ EOT
         $packages = $input->getArgument('packages');
         if (!$packages) {
             $io->writeError('No package specified, opening homepage for the root package');
-            $packages = [$this->getComposer()->getPackage()->getName()];
+            $packages = array($this->getComposer()->getPackage()->getName());
         }
 
         foreach ($packages as $packageName) {