@@ -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) |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | * |
95 | 95 | * @return CreateAccessTokenWithRefreshTokenCommand |
96 | 96 | */ |
97 | - public static function create(ClientId $clientId, ResourceOwnerId $resourceOwnerId, DataBag $parameters, DataBag $metadatas, array $scopes, ? \DateTimeImmutable $expiresAt, ? ResourceServerId $resourceServerId, ? DataTransporter $dataTransporter): CreateAccessTokenWithRefreshTokenCommand |
|
97 | + public static function create(ClientId $clientId, ResourceOwnerId $resourceOwnerId, DataBag $parameters, DataBag $metadatas, array $scopes, ? \DateTimeImmutable $expiresAt, ? ResourceServerId $resourceServerId, ? DataTransporter $dataTransporter) : CreateAccessTokenWithRefreshTokenCommand |
|
98 | 98 | { |
99 | 99 | return new self($clientId, $resourceOwnerId, $parameters, $metadatas, $scopes, $expiresAt, $resourceServerId, $dataTransporter); |
100 | 100 | } |
@@ -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) |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | * |
43 | 43 | * @return CreateResourceServerCommand |
44 | 44 | */ |
45 | - public static function create(DataBag $parameters, ? DataTransporter $dataTransporter): CreateResourceServerCommand |
|
45 | + public static function create(DataBag $parameters, ? DataTransporter $dataTransporter) : CreateResourceServerCommand |
|
46 | 46 | { |
47 | 47 | return new self($parameters, $dataTransporter); |
48 | 48 | } |
@@ -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) |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | * |
52 | 52 | * @return CreateClientCommand |
53 | 53 | */ |
54 | - public static function create(? UserAccountId $userAccountId, DataBag $parameters, ? DataTransporter $dataTransporter): CreateClientCommand |
|
54 | + public static function create(? UserAccountId $userAccountId, DataBag $parameters, ? DataTransporter $dataTransporter) : CreateClientCommand |
|
55 | 55 | { |
56 | 56 | return new self($userAccountId, $parameters, $dataTransporter); |
57 | 57 | } |
@@ -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) |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | * |
118 | 118 | * @return CreateAuthCodeCommand |
119 | 119 | */ |
120 | - public static function create(ClientId $clientId, UserAccountId $userAccountId, array $queryParameters, string $redirectUri, DataBag $parameters, DataBag $metadatas, array $scopes, bool $withRefreshToken, ? \DateTimeImmutable $expiresAt, ? ResourceServerId $resourceServerId, ? DataTransporter $dataTransporter): CreateAuthCodeCommand |
|
120 | + public static function create(ClientId $clientId, UserAccountId $userAccountId, array $queryParameters, string $redirectUri, DataBag $parameters, DataBag $metadatas, array $scopes, bool $withRefreshToken, ? \DateTimeImmutable $expiresAt, ? ResourceServerId $resourceServerId, ? DataTransporter $dataTransporter) : CreateAuthCodeCommand |
|
121 | 121 | { |
122 | 122 | return new self($clientId, $userAccountId, $queryParameters, $redirectUri, $parameters, $metadatas, $scopes, $withRefreshToken, $expiresAt, $resourceServerId, $dataTransporter); |
123 | 123 | } |
@@ -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) |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | * |
59 | 59 | * @return CreatePreConfiguredAuthorizationCommand |
60 | 60 | */ |
61 | - public static function create(ClientId $clientId, UserAccountId $userAccountId, array $scopes, ? DataTransporter $dataTransporter): CreatePreConfiguredAuthorizationCommand |
|
61 | + public static function create(ClientId $clientId, UserAccountId $userAccountId, array $scopes, ? DataTransporter $dataTransporter) : CreatePreConfiguredAuthorizationCommand |
|
62 | 62 | { |
63 | 63 | return new self($clientId, $userAccountId, $scopes, $dataTransporter); |
64 | 64 | } |
@@ -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) |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | * |
85 | 85 | * @return CreateRefreshTokenCommand |
86 | 86 | */ |
87 | - public static function create(ResourceOwnerId $userAccountId, ClientId $clientId, DataBag $parameters, DataBag $metadatas, array $scopes, ? \DateTimeImmutable $expiresAt, ? DataTransporter $dataTransporter): CreateRefreshTokenCommand |
|
87 | + public static function create(ResourceOwnerId $userAccountId, ClientId $clientId, DataBag $parameters, DataBag $metadatas, array $scopes, ? \DateTimeImmutable $expiresAt, ? DataTransporter $dataTransporter) : CreateRefreshTokenCommand |
|
88 | 88 | { |
89 | 89 | return new self($userAccountId, $clientId, $parameters, $metadatas, $scopes, $expiresAt, $dataTransporter); |
90 | 90 | } |
@@ -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) |