Revert changes to throws and returns ordering

This commit is contained in:
sephster 2018-10-13 16:54:31 +01:00
parent f96fca3b48
commit c0efdf0dd0
No known key found for this signature in database
GPG Key ID: 077754CA23023F4F

View File

@ -236,8 +236,9 @@ abstract class AbstractGrant implements GrantTypeInterface
* @param string|array $scopes
* @param string $redirectUri
*
* @return ScopeEntityInterface[]
* @throws OAuthServerException
*
* @return ScopeEntityInterface[]
*/
public function validateScopes($scopes, $redirectUri = null)
{
@ -373,9 +374,10 @@ abstract class AbstractGrant implements GrantTypeInterface
* @param string|null $userIdentifier
* @param ScopeEntityInterface[] $scopes
*
* @return AccessTokenEntityInterface
* @throws OAuthServerException
* @throws UniqueTokenIdentifierConstraintViolationException
*
* @return AccessTokenEntityInterface
*/
protected function issueAccessToken(
\DateInterval $accessTokenTTL,
@ -493,8 +495,9 @@ abstract class AbstractGrant implements GrantTypeInterface
*
* @param int $length
*
* @return string
* @throws OAuthServerException
*
* @return string
*/
protected function generateUniqueIdentifier($length = 40)
{