Skip to content

Commit f6d5ed0

Browse files
committed
Fixes styles
1 parent aefdde5 commit f6d5ed0

File tree

7 files changed

+8
-10
lines changed

7 files changed

+8
-10
lines changed

src/Entities/Traits/AccessTokenTrait.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ private function convertToJWT(CryptKey $privateKey)
4949
->issuedAt(\time())
5050
->canOnlyBeUsedAfter(\time())
5151
->expiresAt($this->getExpiryDateTime()->getTimestamp())
52-
->relatedTo((string)$this->getUserIdentifier());
52+
->relatedTo((string) $this->getUserIdentifier());
5353

54-
foreach ($this->getClaims() as $claim){
54+
foreach ($this->getClaims() as $claim) {
5555
$builder->withClaim($claim->getName(), $claim->getValue());
5656
}
5757

src/Entities/Traits/TokenEntityTrait.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ public function getClaims()
8181
return $this->claims;
8282
}
8383

84-
85-
8684
/**
8785
* Get the token's expiry date time.
8886
*

src/Grant/AuthCodeGrant.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public function respondToAccessTokenRequest(
160160
}
161161
}
162162
$privateClaims = [];
163-
if($this->claimRepository){
163+
if($this->claimRepository) {
164164
$privateClaims = $this->claimRepository->getClaims(
165165
$privateClaims,
166166
$this->getIdentifier(),

src/Grant/ClientCredentialsGrant.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function respondToAccessTokenRequest(
4949
$finalizedScopes = $this->scopeRepository->finalizeScopes($scopes, $this->getIdentifier(), $client);
5050

5151
$privateClaims = [];
52-
if($this->claimRepository){
52+
if($this->claimRepository) {
5353
$privateClaims = $this->claimRepository->getClaims($privateClaims, $this->getIdentifier(), $client);
5454
}
5555

src/Grant/ImplicitGrant.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ public function completeAuthorizationRequest(AuthorizationRequest $authorization
187187
);
188188

189189
$privateClaims = [];
190-
if($this->claimRepository){
190+
if($this->claimRepository) {
191191
$privateClaims = $this->claimRepository->getClaims(
192192
$privateClaims,
193193
$this->getIdentifier(),

src/Grant/PasswordGrant.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function respondToAccessTokenRequest(
5757
$finalizedScopes = $this->scopeRepository->finalizeScopes($scopes, $this->getIdentifier(), $client, $user->getIdentifier());
5858

5959
$privateClaims = [];
60-
if($this->claimRepository){
60+
if($this->claimRepository) {
6161
$privateClaims = $this->claimRepository->getClaims($privateClaims, $this->getIdentifier(), $client, $user->getIdentifier());
6262
}
6363

src/Repositories/AccessTokenRepositoryInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ interface AccessTokenRepositoryInterface extends RepositoryInterface
2323
/**
2424
* Create a new access token
2525
*
26-
* @param ClientEntityInterface $clientEntity
26+
* @param ClientEntityInterface $clientEntity
2727
* @param ScopeEntityInterface[] $scopes
28-
* @param array $claims
28+
* @param array $claims
2929
* @param ClaimEntityInterface[] $userIdentifier
3030
*
3131
* @return AccessTokenEntityInterface

0 commit comments

Comments
 (0)