Updates to exceptions

This commit is contained in:
Alex Bilbie committed 2014-05-01 14:32:54 +01:00
1 parent 6981ced972
commit 9f1f0cc3bc
8 files changed
+24 -56

No files matched your search

+1 -1
View File
@@ -210,7 +210,7 @@ class ResourceServer extends AbstractServer
}
if (empty($accessToken)) {
throw new Exception\InvalidAccessTokenException('Access token is missing');
throw new Exception\InvalidRequestException('access token');
}
return $accessToken;