Skip to content

Commit

Permalink
Fixes styles II
Browse files Browse the repository at this point in the history
  • Loading branch information
skroczek committed Jun 4, 2020
1 parent 962506e commit d2888f1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Grant/AuthCodeGrant.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public function respondToAccessTokenRequest(
}
}
$privateClaims = [];
if($this->claimRepository) {
if ($this->claimRepository) {
$privateClaims = $this->claimRepository->getClaims(
$privateClaims,
$this->getIdentifier(),
Expand Down
2 changes: 1 addition & 1 deletion src/Grant/ClientCredentialsGrant.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function respondToAccessTokenRequest(
$finalizedScopes = $this->scopeRepository->finalizeScopes($scopes, $this->getIdentifier(), $client);

$privateClaims = [];
if($this->claimRepository) {
if ($this->claimRepository) {
$privateClaims = $this->claimRepository->getClaims($privateClaims, $this->getIdentifier(), $client);
}

Expand Down
2 changes: 1 addition & 1 deletion src/Grant/ImplicitGrant.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public function completeAuthorizationRequest(AuthorizationRequest $authorization
);

$privateClaims = [];
if($this->claimRepository) {
if ($this->claimRepository) {
$privateClaims = $this->claimRepository->getClaims(
$privateClaims,
$this->getIdentifier(),
Expand Down
2 changes: 1 addition & 1 deletion src/Grant/PasswordGrant.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function respondToAccessTokenRequest(
$finalizedScopes = $this->scopeRepository->finalizeScopes($scopes, $this->getIdentifier(), $client, $user->getIdentifier());

$privateClaims = [];
if($this->claimRepository) {
if ($this->claimRepository) {
$privateClaims = $this->claimRepository->getClaims($privateClaims, $this->getIdentifier(), $client, $user->getIdentifier());
}

Expand Down
2 changes: 1 addition & 1 deletion src/Grant/RefreshTokenGrant.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function respondToAccessTokenRequest(
$this->refreshTokenRepository->revokeRefreshToken($oldRefreshToken['refresh_token_id']);

$privateClaims = [];
if($this->claimRepository){
if ($this->claimRepository) {
$privateClaims = $this->claimRepository->getClaims(
$privateClaims,
$this->getIdentifier(),
Expand Down

0 comments on commit d2888f1

Please sign in to comment.