mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-18 02:59:45 +05:30
Docblock fixes
This commit is contained in:
parent
3f114dc5e3
commit
d260167155
@ -70,7 +70,7 @@ class SessionEntity
|
||||
|
||||
/**
|
||||
* Authorization or resource server
|
||||
* @var \League\OAuth2\Server\Authorization|\League\OAuth2\Server\Resource
|
||||
* @var \League\OAuth2\Server\AuthorizationServer|\League\OAuth2\Server\ResourceServer
|
||||
*/
|
||||
protected $server;
|
||||
|
||||
@ -137,7 +137,7 @@ class SessionEntity
|
||||
|
||||
/**
|
||||
* Return all scopes associated with the session
|
||||
* @return array Array of \League\OAuth2\Server\Entity\Scope
|
||||
* @return \League\OAuth2\Server\Entity\Scope[]
|
||||
*/
|
||||
public function getScopes()
|
||||
{
|
||||
@ -150,7 +150,7 @@ class SessionEntity
|
||||
|
||||
/**
|
||||
* Format the local scopes array
|
||||
* @param array $unformated Array of Array of \League\OAuth2\Server\Entity\Scope
|
||||
* @param \League\OAuth2\Server\Entity\Scope[]
|
||||
* @return array
|
||||
*/
|
||||
private function formatScopes($unformated = [])
|
||||
@ -193,7 +193,7 @@ class SessionEntity
|
||||
|
||||
/**
|
||||
* Associate a client with the session
|
||||
* @param League\OAuth2\Server\Entity\ClientEntity $client The client
|
||||
* @param \League\OAuth2\Server\Entity\ClientEntity $client The client
|
||||
* @return self
|
||||
*/
|
||||
public function associateClient(ClientEntity $client)
|
||||
|
Loading…
Reference in New Issue
Block a user