Applied fixes from StyleCI

This commit is contained in:
Alex Bilbie
2016-09-13 14:17:09 +00:00
committed by StyleCI Bot
parent d7df2f7e24
commit 11ccc305d0
11 changed files with 15 additions and 14 deletions

View File

@@ -75,7 +75,7 @@ class BearerTokenValidator implements AuthorizationValidatorInterface
} catch (\InvalidArgumentException $exception) {
// JWT couldn't be parsed so return the request as is
throw OAuthServerException::accessDenied($exception->getMessage());
} catch(\RuntimeException $exception){
} catch (\RuntimeException $exception) {
//JWR couldn't be parsed so return the request as is
throw OAuthServerException::accessDenied('Error while decoding to JSON');
}