Jordi Boggiano %!s(int64=7) %!d(string=hai) anos
pai
achega
535e7262e4
Modificáronse 1 ficheiros con 1 adicións e 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) {