Ver Fonte

Fix php5.3

Jordi Boggiano há 7 anos atrás
pai
commit
535e7262e4
1 ficheiros alterados com 1 adições e 1 exclusões
  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) {