Jordi Boggiano 11 năm trước cách đây
mục cha
commit
d2ef829cc6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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');
             }
         }
     }