@@ -23,8 +23,8 @@ discard block |
||
| 23 | 23 | public function __construct( |
| 24 | 24 | private readonly string $accessToken, |
| 25 | 25 | private readonly DateTime $expires, |
| 26 | - private readonly string|int $clientId, |
|
| 27 | - private readonly string|int|null $userId, |
|
| 26 | + private readonly string | int $clientId, |
|
| 27 | + private readonly string | int | null $userId, |
|
| 28 | 28 | private readonly array $scope, |
| 29 | 29 | ) |
| 30 | 30 | { |
@@ -35,12 +35,12 @@ discard block |
||
| 35 | 35 | return $this->accessToken; |
| 36 | 36 | } |
| 37 | 37 | |
| 38 | - public function getClientId(): string|int |
|
| 38 | + public function getClientId(): string | int |
|
| 39 | 39 | { |
| 40 | 40 | return $this->clientId; |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | - public function getUserId(): string|int|null |
|
| 43 | + public function getUserId(): string | int | null |
|
| 44 | 44 | { |
| 45 | 45 | return $this->userId; |
| 46 | 46 | } |
@@ -11,14 +11,14 @@ |
||
| 11 | 11 | { |
| 12 | 12 | |
| 13 | 13 | public function __construct( |
| 14 | - private readonly string|int $id, |
|
| 14 | + private readonly string | int $id, |
|
| 15 | 15 | #[\SensitiveParameter] private readonly string $secret, |
| 16 | 16 | private readonly string $redirectUrl, |
| 17 | 17 | ) |
| 18 | 18 | { |
| 19 | 19 | } |
| 20 | 20 | |
| 21 | - public function getId(): string|int |
|
| 21 | + public function getId(): string | int |
|
| 22 | 22 | { |
| 23 | 23 | return $this->id; |
| 24 | 24 | } |
@@ -23,8 +23,8 @@ discard block |
||
| 23 | 23 | public function __construct( |
| 24 | 24 | private readonly string $authorizationCode, |
| 25 | 25 | private readonly DateTime $expires, |
| 26 | - private readonly string|int $clientId, |
|
| 27 | - private readonly string|int|null $userId, |
|
| 26 | + private readonly string | int $clientId, |
|
| 27 | + private readonly string | int | null $userId, |
|
| 28 | 28 | private readonly array $scope, |
| 29 | 29 | ) |
| 30 | 30 | { |
@@ -35,12 +35,12 @@ discard block |
||
| 35 | 35 | return $this->authorizationCode; |
| 36 | 36 | } |
| 37 | 37 | |
| 38 | - public function getClientId(): string|int |
|
| 38 | + public function getClientId(): string | int |
|
| 39 | 39 | { |
| 40 | 40 | return $this->clientId; |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | - public function getUserId(): string|int|null |
|
| 43 | + public function getUserId(): string | int | null |
|
| 44 | 44 | { |
| 45 | 45 | return $this->userId; |
| 46 | 46 | } |