Merge pull request #467 from thephpleague/analysis-z4xMPE

Applied fixes from StyleCI
This commit is contained in:
Alex Bilbie 2016-03-15 22:55:33 +01:00
commit 25f93071ea
4 changed files with 5 additions and 5 deletions

View File

@ -9,7 +9,7 @@ class ScopeEntity implements ScopeEntityInterface
{ {
use EntityTrait; use EntityTrait;
function jsonSerialize() public function jsonSerialize()
{ {
return $this->getIdentifier(); return $this->getIdentifier();
} }

View File

@ -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();

View File

@ -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();