mirror of
https://github.com/webmasterskaya/joomla-oauth-server.git
synced 2024-11-23 22:34:50 +03:00
docblock changes
This commit is contained in:
parent
f69f561687
commit
6876640920
@ -48,16 +48,17 @@ class ScopeRepository implements ScopeRepositoryInterface, DispatcherAwareInterf
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param Scope[] $scopes
|
* @param Scope[] $scopes
|
||||||
* @param $grantType
|
* @param string $grantType
|
||||||
* @param \League\OAuth2\Server\Entities\ClientEntityInterface $clientEntity
|
* @param ClientEntityInterface $clientEntity
|
||||||
* @param null $userIdentifier
|
* @param null $userIdentifier
|
||||||
*
|
*
|
||||||
* @return mixed
|
* @return mixed
|
||||||
* @throws \League\OAuth2\Server\Exception\OAuthServerException
|
* @throws OAuthServerException
|
||||||
|
* @throws \Exception
|
||||||
* @since version
|
* @since version
|
||||||
*/
|
*/
|
||||||
public function finalizeScopes(array $scopes, $grantType, ClientEntityInterface $clientEntity, $userIdentifier = null)
|
public function finalizeScopes(array $scopes, $grantType, ClientEntityInterface $clientEntity, $userIdentifier = null): array
|
||||||
{
|
{
|
||||||
$client = $this->clientModel->getItemByIdentifier($clientEntity->getIdentifier());
|
$client = $this->clientModel->getItemByIdentifier($clientEntity->getIdentifier());
|
||||||
|
|
||||||
@ -90,7 +91,7 @@ class ScopeRepository implements ScopeRepositoryInterface, DispatcherAwareInterf
|
|||||||
* @param array $requestedScopes
|
* @param array $requestedScopes
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
* @throws \League\OAuth2\Server\Exception\OAuthServerException
|
* @throws OAuthServerException
|
||||||
* @since version
|
* @since version
|
||||||
*/
|
*/
|
||||||
private function setupScopes(object $client, array $requestedScopes): array
|
private function setupScopes(object $client, array $requestedScopes): array
|
||||||
|
Loading…
Reference in New Issue
Block a user