diff --git a/src/AuthorizationServer.php b/src/AuthorizationServer.php index 6eb7b5d6..6b7a972b 100644 --- a/src/AuthorizationServer.php +++ b/src/AuthorizationServer.php @@ -156,7 +156,7 @@ class AuthorizationServer implements EmitterAwareInterface * @param \League\OAuth2\Server\RequestTypes\AuthorizationRequest $authRequest * @param \Psr\Http\Message\ResponseInterface $response * - * @return \League\OAuth2\Server\ResponseTypes\ResponseTypeInterface + * @return \Psr\Http\Message\ResponseInterface */ public function completeAuthorizationRequest(AuthorizationRequest $authRequest, ResponseInterface $response) { diff --git a/src/Grant/ImplicitGrant.php b/src/Grant/ImplicitGrant.php index 0bd33fa6..976acefb 100644 --- a/src/Grant/ImplicitGrant.php +++ b/src/Grant/ImplicitGrant.php @@ -41,7 +41,7 @@ class ImplicitGrant extends AbstractAuthorizeGrant */ 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) { - throw new \LogicException('The Implicit Grant does nto return refresh tokens'); + throw new \LogicException('The Implicit Grant does not return refresh tokens'); } /**