From 9a5b0098a675976f9de3c7e1184f889a4bfa420a Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Sat, 18 Jan 2020 08:27:02 +0530 Subject: [PATCH] feat: renamed adapter variable to scope --- src/Auth/OAuth/Bitbucket.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Auth/OAuth/Bitbucket.php b/src/Auth/OAuth/Bitbucket.php index 4dd1128cac..1b597263be 100644 --- a/src/Auth/OAuth/Bitbucket.php +++ b/src/Auth/OAuth/Bitbucket.php @@ -17,7 +17,7 @@ class Bitbucket extends OAuth /** * @var array */ - protected $requiredScope = []; + protected $scope = []; /** * @return string @@ -32,10 +32,6 @@ class Bitbucket extends OAuth */ public function getLoginURL(): string { - foreach ($this->requiredScope as $item) { - $this->addScope($item); - } - return 'https://bitbucket.org/site/oauth2/authorize?'.http_build_query([ 'response_type' => 'code', 'client_id' => $this->appID,