@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * The MIT License (MIT) |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * The MIT License (MIT) |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * The MIT License (MIT) |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * The MIT License (MIT) |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | * @param \DateTimeImmutable|null $recordedOn |
34 | 34 | * @param EventId|null $eventId |
35 | 35 | */ |
36 | - protected function __construct(AuthCodeId $authCodeId, ?\DateTimeImmutable $recordedOn, ?EventId $eventId) |
|
36 | + protected function __construct(AuthCodeId $authCodeId, ? \DateTimeImmutable $recordedOn, ? EventId $eventId) |
|
37 | 37 | { |
38 | 38 | parent::__construct($recordedOn, $eventId); |
39 | 39 | $this->authCodeId = $authCodeId; |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * The MIT License (MIT) |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | * @param \DateTimeImmutable|null $recordedOn |
34 | 34 | * @param EventId|null $eventId |
35 | 35 | */ |
36 | - protected function __construct(AuthCodeId $authCodeId, ?\DateTimeImmutable $recordedOn, ?EventId $eventId) |
|
36 | + protected function __construct(AuthCodeId $authCodeId, ? \DateTimeImmutable $recordedOn, ? EventId $eventId) |
|
37 | 37 | { |
38 | 38 | parent::__construct($recordedOn, $eventId); |
39 | 39 | $this->authCodeId = $authCodeId; |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * The MIT License (MIT) |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | * @param \DateTimeImmutable|null $recordedOn |
98 | 98 | * @param EventId|null $eventId |
99 | 99 | */ |
100 | - protected function __construct(AuthCodeId $authCodeId, ClientId $clientId, UserAccountId $userAccountId, array $queryParameters, string $redirectUri, \DateTimeImmutable $expiresAt, DataBag $parameters, DataBag $metadatas, array $scopes, bool $withRefreshToken, ?ResourceServerId $resourceServerId, ?\DateTimeImmutable $recordedOn, ?EventId $eventId) |
|
100 | + protected function __construct(AuthCodeId $authCodeId, ClientId $clientId, UserAccountId $userAccountId, array $queryParameters, string $redirectUri, \DateTimeImmutable $expiresAt, DataBag $parameters, DataBag $metadatas, array $scopes, bool $withRefreshToken, ? ResourceServerId $resourceServerId, ? \DateTimeImmutable $recordedOn, ? EventId $eventId) |
|
101 | 101 | { |
102 | 102 | parent::__construct($recordedOn, $eventId); |
103 | 103 | $this->authCodeId = $authCodeId; |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | * |
137 | 137 | * @return AuthCodeCreatedEvent |
138 | 138 | */ |
139 | - public static function create(AuthCodeId $authCodeId, ClientId $clientId, UserAccountId $userAccountId, array $queryParameters, string $redirectUri, \DateTimeImmutable $expiresAt, DataBag $parameters, DataBag $metadatas, array $scopes, bool $withRefreshToken, ?ResourceServerId $resourceServerId): AuthCodeCreatedEvent |
|
139 | + public static function create(AuthCodeId $authCodeId, ClientId $clientId, UserAccountId $userAccountId, array $queryParameters, string $redirectUri, \DateTimeImmutable $expiresAt, DataBag $parameters, DataBag $metadatas, array $scopes, bool $withRefreshToken, ? ResourceServerId $resourceServerId) : AuthCodeCreatedEvent |
|
140 | 140 | { |
141 | 141 | return new self($authCodeId, $clientId, $userAccountId, $queryParameters, $redirectUri, $expiresAt, $parameters, $metadatas, $scopes, $withRefreshToken, $resourceServerId, null, null); |
142 | 142 | } |
@@ -216,7 +216,7 @@ discard block |
||
216 | 216 | /** |
217 | 217 | * @return ResourceServerId|null |
218 | 218 | */ |
219 | - public function getResourceServerId(): ?ResourceServerId |
|
219 | + public function getResourceServerId(): ? ResourceServerId |
|
220 | 220 | { |
221 | 221 | return $this->resourceServerId; |
222 | 222 | } |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * The MIT License (MIT) |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | * @param \DateTimeImmutable|null $recordedOn |
34 | 34 | * @param EventId|null $eventId |
35 | 35 | */ |
36 | - protected function __construct(ClientId $clientId, ?\DateTimeImmutable $recordedOn, ?EventId $eventId) |
|
36 | + protected function __construct(ClientId $clientId, ? \DateTimeImmutable $recordedOn, ? EventId $eventId) |
|
37 | 37 | { |
38 | 38 | parent::__construct($recordedOn, $eventId); |
39 | 39 | $this->clientId = $clientId; |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * The MIT License (MIT) |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | * @param \DateTimeImmutable|null $recordedOn |
41 | 41 | * @param null|EventId $eventId |
42 | 42 | */ |
43 | - protected function __construct(ClientId $clientId, DataBag $parameters, ?\DateTimeImmutable $recordedOn, ?EventId $eventId) |
|
43 | + protected function __construct(ClientId $clientId, DataBag $parameters, ? \DateTimeImmutable $recordedOn, ? EventId $eventId) |
|
44 | 44 | { |
45 | 45 | parent::__construct($recordedOn, $eventId); |
46 | 46 | $this->clientId = $clientId; |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * The MIT License (MIT) |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | * @param \DateTimeImmutable|null $recordedOn |
41 | 41 | * @param EventId|null $eventId |
42 | 42 | */ |
43 | - protected function __construct(ClientId $clientId, UserAccountId $newOwnerId, ?\DateTimeImmutable $recordedOn, ?EventId $eventId) |
|
43 | + protected function __construct(ClientId $clientId, UserAccountId $newOwnerId, ? \DateTimeImmutable $recordedOn, ? EventId $eventId) |
|
44 | 44 | { |
45 | 45 | parent::__construct($recordedOn, $eventId); |
46 | 46 | $this->clientId = $clientId; |