Remove some warnings for Scrutinizer-ci

This commit is contained in:
Frédéric Guillot
2014-05-03 22:44:00 -04:00
parent 560a12f0bd
commit 8ab4c38373
12 changed files with 88 additions and 2 deletions

View File

@@ -144,7 +144,9 @@ class Google extends Base
$googleService->requestAccessToken($code);
return json_decode($googleService->request('https://www.googleapis.com/oauth2/v1/userinfo'), true);
}
catch (TokenResponseException $e) {}
catch (TokenResponseException $e) {
return false;
}
return false;
}