Jordi Boggiano hace 11 años
padre
commit
d2ef829cc6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Composer/IO/BaseIO.php

+ 1 - 1
src/Composer/IO/BaseIO.php

@@ -68,7 +68,7 @@ abstract class BaseIO implements IOInterface
                 if (!preg_match('{^[a-z0-9]+$}', $token)) {
                     throw new \UnexpectedValueException('Your github oauth token for '.$domain.' contains invalid characters: "'.$token.'"');
                 }
-                $io->setAuthentication($domain, $token, 'x-oauth-basic');
+                $this->setAuthentication($domain, $token, 'x-oauth-basic');
             }
         }
     }