Merge branch 'master' of github.com:thephpleague/oauth2-server

This commit is contained in:
Alex Bilbie 2016-05-04 08:56:04 +01:00
commit cf63403585
2 changed files with 3 additions and 3 deletions

View File

@ -156,7 +156,7 @@ class AuthorizationServer implements EmitterAwareInterface
* @param \League\OAuth2\Server\RequestTypes\AuthorizationRequest $authRequest * @param \League\OAuth2\Server\RequestTypes\AuthorizationRequest $authRequest
* @param \Psr\Http\Message\ResponseInterface $response * @param \Psr\Http\Message\ResponseInterface $response
* *
* @return \League\OAuth2\Server\ResponseTypes\ResponseTypeInterface * @return \Psr\Http\Message\ResponseInterface
*/ */
public function completeAuthorizationRequest(AuthorizationRequest $authRequest, ResponseInterface $response) public function completeAuthorizationRequest(AuthorizationRequest $authRequest, ResponseInterface $response)
{ {

View File

@ -41,7 +41,7 @@ class ImplicitGrant extends AbstractAuthorizeGrant
*/ */
public function setRefreshTokenTTL(\DateInterval $refreshTokenTTL) public function setRefreshTokenTTL(\DateInterval $refreshTokenTTL)
{ {
throw new \LogicException('The Implicit Grant does nto return refresh tokens'); throw new \LogicException('The Implicit Grant does not return refresh tokens');
} }
/** /**
@ -51,7 +51,7 @@ class ImplicitGrant extends AbstractAuthorizeGrant
*/ */
public function setRefreshTokenRepository(RefreshTokenRepositoryInterface $refreshTokenRepository) public function setRefreshTokenRepository(RefreshTokenRepositoryInterface $refreshTokenRepository)
{ {
throw new \LogicException('The Implicit Grant does nto return refresh tokens'); throw new \LogicException('The Implicit Grant does not return refresh tokens');
} }
/** /**