Skip to content

Commit 9b7a67f

Browse files
committed
Remove redundant property initialization
1 parent fdfa873 commit 9b7a67f

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

src/Entities/AuthCodeEntity.php

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,6 @@ class AuthCodeEntity implements AuthCodeEntityInterface, MementoInterface
3232
use OidcAuthCodeTrait;
3333
use RevokeTokenTrait;
3434

35-
/**
36-
* issuer state
37-
* @var string $issuerState
38-
*/
39-
protected ?string $issuerState = null;
40-
4135
/**
4236
* @param \League\OAuth2\Server\Entities\ScopeEntityInterface[] $scopes
4337
*/
@@ -55,7 +49,7 @@ public function __construct(
5549
protected readonly ?array $authorizationDetails = null,
5650
protected readonly ?string $boundClientId = null,
5751
protected readonly ?string $boundRedirectUri = null,
58-
protected ?string $issuer_state = null,
52+
protected readonly ?string $issuerState = null,
5953
) {
6054
$this->identifier = $id;
6155
$this->client = $client;
@@ -65,7 +59,6 @@ public function __construct(
6559
$this->redirectUri = $redirectUri;
6660
$this->nonce = $nonce;
6761
$this->isRevoked = $isRevoked;
68-
$this->issuerState = $issuer_state;
6962
}
7063

7164
/**

0 commit comments

Comments
 (0)