From 4522f6f8890fab5debb78c90ed0abad0d4116601 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9?= Date: Tue, 4 Apr 2017 00:49:54 +0300 Subject: [PATCH] Fix facebook oauth bug Now facebook returns proper expires_in name. This method provided bug. --- src/services/FacebookOAuth2Service.php | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/services/FacebookOAuth2Service.php b/src/services/FacebookOAuth2Service.php index b026355..d801d77 100644 --- a/src/services/FacebookOAuth2Service.php +++ b/src/services/FacebookOAuth2Service.php @@ -61,17 +61,7 @@ protected function fetchAttributes() return true; } - - /** - * @return array - */ - public function getAccessTokenArgumentNames() - { - $names = parent::getAccessTokenArgumentNames(); - $names['expires_in'] = 'expires'; - return $names; - } - + /** * @param string $response * @return array