mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-22 21:19:46 +05:30
Applied fixes from StyleCI
This commit is contained in:
parent
5bbf703711
commit
079ed0040a
@ -82,4 +82,4 @@ class ClientEntity implements ClientEntityInterface
|
|||||||
{
|
{
|
||||||
return $this->secret !== null;
|
return $this->secret !== null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -9,8 +9,8 @@ class ScopeEntity implements ScopeEntityInterface
|
|||||||
{
|
{
|
||||||
use EntityTrait;
|
use EntityTrait;
|
||||||
|
|
||||||
function jsonSerialize()
|
public function jsonSerialize()
|
||||||
{
|
{
|
||||||
return $this->getIdentifier();
|
return $this->getIdentifier();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -22,7 +22,7 @@ class ClientRepository implements ClientRepositoryInterface
|
|||||||
|
|
||||||
// Check if client is registered
|
// Check if client is registered
|
||||||
if (array_key_exists($clientIdentifier, $clients) === false) {
|
if (array_key_exists($clientIdentifier, $clients) === false) {
|
||||||
return null;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$client = new ClientEntity();
|
$client = new ClientEntity();
|
||||||
|
@ -22,7 +22,7 @@ class ScopeRepository implements ScopeRepositoryInterface
|
|||||||
];
|
];
|
||||||
|
|
||||||
if (array_key_exists($scopeIdentifier, $scopes) === false) {
|
if (array_key_exists($scopeIdentifier, $scopes) === false) {
|
||||||
return null;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$scope = new ScopeEntity();
|
$scope = new ScopeEntity();
|
||||||
|
Loading…
Reference in New Issue
Block a user