@@ -117,13 +117,13 @@ |
||
| 117 | 117 | public function serialize(): array |
| 118 | 118 | { |
| 119 | 119 | return [ |
| 120 | - 'identity_id' => (string)$this->identityId, |
|
| 121 | - 'identity_institution' => (string)$this->identityInstitution, |
|
| 122 | - 'second_factor_id' => (string)$this->secondFactorId, |
|
| 120 | + 'identity_id' => (string) $this->identityId, |
|
| 121 | + 'identity_institution' => (string) $this->identityInstitution, |
|
| 122 | + 'second_factor_id' => (string) $this->secondFactorId, |
|
| 123 | 123 | 'email_verification_required' => $this->emailVerificationRequired, |
| 124 | 124 | 'email_verification_window' => $this->emailVerificationWindow->serialize(), |
| 125 | 125 | 'email_verification_nonce' => $this->emailVerificationNonce, |
| 126 | - 'preferred_locale' => (string)$this->preferredLocale, |
|
| 126 | + 'preferred_locale' => (string) $this->preferredLocale, |
|
| 127 | 127 | ]; |
| 128 | 128 | } |
| 129 | 129 | |
@@ -83,10 +83,10 @@ |
||
| 83 | 83 | public function serialize(): array |
| 84 | 84 | { |
| 85 | 85 | return [ |
| 86 | - 'id' => (string)$this->identityId, |
|
| 87 | - 'institution' => (string)$this->identityInstitution, |
|
| 88 | - 'name_id' => (string)$this->nameId, |
|
| 89 | - 'preferred_locale' => (string)$this->preferredLocale, |
|
| 86 | + 'id' => (string) $this->identityId, |
|
| 87 | + 'institution' => (string) $this->identityInstitution, |
|
| 88 | + 'name_id' => (string) $this->nameId, |
|
| 89 | + 'preferred_locale' => (string) $this->preferredLocale, |
|
| 90 | 90 | ]; |
| 91 | 91 | } |
| 92 | 92 | |
@@ -83,10 +83,10 @@ |
||
| 83 | 83 | final public function serialize(): array |
| 84 | 84 | { |
| 85 | 85 | return [ |
| 86 | - 'identity_id' => (string)$this->identityId, |
|
| 87 | - 'identity_institution' => (string)$this->identityInstitution, |
|
| 88 | - 'second_factor_id' => (string)$this->secondFactorId, |
|
| 89 | - 'second_factor_type' => (string)$this->secondFactorType, |
|
| 86 | + 'identity_id' => (string) $this->identityId, |
|
| 87 | + 'identity_institution' => (string) $this->identityInstitution, |
|
| 88 | + 'second_factor_id' => (string) $this->secondFactorId, |
|
| 89 | + 'second_factor_type' => (string) $this->secondFactorType, |
|
| 90 | 90 | ]; |
| 91 | 91 | } |
| 92 | 92 | |
@@ -98,11 +98,11 @@ |
||
| 98 | 98 | public function serialize(): array |
| 99 | 99 | { |
| 100 | 100 | return [ |
| 101 | - 'identity_id' => (string)$this->identityId, |
|
| 102 | - 'identity_institution' => (string)$this->identityInstitution, |
|
| 103 | - 'recovery_token_id' => (string)$this->recoveryTokenId, |
|
| 101 | + 'identity_id' => (string) $this->identityId, |
|
| 102 | + 'identity_institution' => (string) $this->identityInstitution, |
|
| 103 | + 'recovery_token_id' => (string) $this->recoveryTokenId, |
|
| 104 | 104 | 'recovery_token_type' => RecoveryTokenType::TYPE_SAFE_STORE, |
| 105 | - 'preferred_locale' => (string)$this->preferredLocale, |
|
| 105 | + 'preferred_locale' => (string) $this->preferredLocale, |
|
| 106 | 106 | ]; |
| 107 | 107 | } |
| 108 | 108 | |
@@ -67,9 +67,9 @@ |
||
| 67 | 67 | public function serialize(): array |
| 68 | 68 | { |
| 69 | 69 | return [ |
| 70 | - 'identity_id' => (string)$this->identityId, |
|
| 71 | - 'institution' => (string)$this->identityInstitution, |
|
| 72 | - 'name_id' => (string)$this->nameId, |
|
| 70 | + 'identity_id' => (string) $this->identityId, |
|
| 71 | + 'institution' => (string) $this->identityInstitution, |
|
| 72 | + 'name_id' => (string) $this->nameId, |
|
| 73 | 73 | ]; |
| 74 | 74 | } |
| 75 | 75 | |
@@ -86,12 +86,12 @@ |
||
| 86 | 86 | public function serialize(): array |
| 87 | 87 | { |
| 88 | 88 | return [ |
| 89 | - 'identity_id' => (string)$this->identityId, |
|
| 90 | - 'name_id' => (string)$this->nameId, |
|
| 91 | - 'institution' => (string)$this->identityInstitution, |
|
| 89 | + 'identity_id' => (string) $this->identityId, |
|
| 90 | + 'name_id' => (string) $this->nameId, |
|
| 91 | + 'institution' => (string) $this->identityInstitution, |
|
| 92 | 92 | 'registration_authority_role' => $this->registrationAuthorityRole->serialize(), |
| 93 | - 'location' => (string)$this->location, |
|
| 94 | - 'contact_information' => (string)$this->contactInformation, |
|
| 93 | + 'location' => (string) $this->location, |
|
| 94 | + 'contact_information' => (string) $this->contactInformation, |
|
| 95 | 95 | ]; |
| 96 | 96 | } |
| 97 | 97 | |
@@ -63,8 +63,8 @@ |
||
| 63 | 63 | final public function serialize(): array |
| 64 | 64 | { |
| 65 | 65 | return [ |
| 66 | - 'identity_id' => (string)$this->identityId, |
|
| 67 | - 'identity_institution' => (string)$this->identityInstitution, |
|
| 66 | + 'identity_id' => (string) $this->identityId, |
|
| 67 | + 'identity_institution' => (string) $this->identityInstitution, |
|
| 68 | 68 | ]; |
| 69 | 69 | } |
| 70 | 70 | |
@@ -85,11 +85,11 @@ |
||
| 85 | 85 | final public function serialize(): array |
| 86 | 86 | { |
| 87 | 87 | return [ |
| 88 | - 'identity_id' => (string)$this->identityId, |
|
| 89 | - 'identity_institution' => (string)$this->identityInstitution, |
|
| 90 | - 'second_factor_id' => (string)$this->secondFactorId, |
|
| 91 | - 'second_factor_type' => (string)$this->secondFactorType, |
|
| 92 | - 'authority_id' => (string)$this->authorityId, |
|
| 88 | + 'identity_id' => (string) $this->identityId, |
|
| 89 | + 'identity_institution' => (string) $this->identityInstitution, |
|
| 90 | + 'second_factor_id' => (string) $this->secondFactorId, |
|
| 91 | + 'second_factor_type' => (string) $this->secondFactorType, |
|
| 92 | + 'authority_id' => (string) $this->authorityId, |
|
| 93 | 93 | ]; |
| 94 | 94 | } |
| 95 | 95 | |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | Email::unknown(), |
| 106 | 106 | new Locale($data['preferred_locale']), |
| 107 | 107 | DateTime::fromString($data['registration_requested_at']), |
| 108 | - (string)$data['registration_code'], |
|
| 108 | + (string) $data['registration_code'], |
|
| 109 | 109 | ); |
| 110 | 110 | } |
| 111 | 111 | |
@@ -117,12 +117,12 @@ discard block |
||
| 117 | 117 | public function serialize(): array |
| 118 | 118 | { |
| 119 | 119 | return [ |
| 120 | - 'identity_id' => (string)$this->identityId, |
|
| 121 | - 'identity_institution' => (string)$this->identityInstitution, |
|
| 122 | - 'second_factor_id' => (string)$this->secondFactorId, |
|
| 123 | - 'registration_requested_at' => (string)$this->registrationRequestedAt, |
|
| 120 | + 'identity_id' => (string) $this->identityId, |
|
| 121 | + 'identity_institution' => (string) $this->identityInstitution, |
|
| 122 | + 'second_factor_id' => (string) $this->secondFactorId, |
|
| 123 | + 'registration_requested_at' => (string) $this->registrationRequestedAt, |
|
| 124 | 124 | 'registration_code' => $this->registrationCode, |
| 125 | - 'preferred_locale' => (string)$this->preferredLocale, |
|
| 125 | + 'preferred_locale' => (string) $this->preferredLocale, |
|
| 126 | 126 | ]; |
| 127 | 127 | } |
| 128 | 128 | |