瀏覽代碼

One more non-camelCase variable.

Stefan Grootscholten 8 年之前
父節點
當前提交
966d0bec10
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/Composer/Util/RemoteFilesystem.php

+ 3 - 3
src/Composer/Util/RemoteFilesystem.php

@@ -593,9 +593,9 @@ class RemoteFilesystem
                 $auth = $this->io->getAuthentication($this->originUrl);
                 if ($auth['username'] !== 'x-token-auth') {
                     $bitbucketUtil = new Bitbucket($this->io, $this->config);
-                    $access_token = $bitbucketUtil->requestToken($this->originUrl, $auth['username'], $auth['password']);
-                    if (! empty($access_token)) {
-                        $this->io->setAuthentication($this->originUrl, 'x-token-auth', $access_token);
+                    $accessToken = $bitbucketUtil->requestToken($this->originUrl, $auth['username'], $auth['password']);
+                    if (! empty($accessToken)) {
+                        $this->io->setAuthentication($this->originUrl, 'x-token-auth', $accessToken);
                         $askForOAuthToken = false;
                     }
                 } else {