From 38c44ec38c2e41e77c0639dc330003f60551c4f6 Mon Sep 17 00:00:00 2001 From: Ronnie Visser Date: Wed, 20 Sep 2017 15:17:51 +0200 Subject: [PATCH] Update method call to existing method --- src/OAuth2/AbstractProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OAuth2/AbstractProvider.php b/src/OAuth2/AbstractProvider.php index 22cf0fd..c80dde1 100644 --- a/src/OAuth2/AbstractProvider.php +++ b/src/OAuth2/AbstractProvider.php @@ -32,7 +32,7 @@ public function user() throw new InvalidStateException(); } - $response = $this->getAccessToken($this->getCode()); + $response = $this->getAccessTokenResponse($this->getCode()); $user = $this->mapUserToObject($this->getUserByToken( $token = $this->parseAccessToken($response)