@@ -87,12 +87,12 @@ |
||
| 87 | 87 | public function serialize(): array |
| 88 | 88 | { |
| 89 | 89 | return [ |
| 90 | - 'identity_id' => (string)$this->identityId, |
|
| 91 | - 'name_id' => (string)$this->nameId, |
|
| 92 | - 'institution' => (string)$this->identityInstitution, |
|
| 90 | + 'identity_id' => (string) $this->identityId, |
|
| 91 | + 'name_id' => (string) $this->nameId, |
|
| 92 | + 'institution' => (string) $this->identityInstitution, |
|
| 93 | 93 | 'registration_authority_role' => $this->registrationAuthorityRole->serialize(), |
| 94 | - 'location' => (string)$this->location, |
|
| 95 | - 'contact_information' => (string)$this->contactInformation, |
|
| 94 | + 'location' => (string) $this->location, |
|
| 95 | + 'contact_information' => (string) $this->contactInformation, |
|
| 96 | 96 | ]; |
| 97 | 97 | } |
| 98 | 98 | |
@@ -118,13 +118,13 @@ |
||
| 118 | 118 | public function serialize(): array |
| 119 | 119 | { |
| 120 | 120 | return [ |
| 121 | - 'identity_id' => (string)$this->identityId, |
|
| 122 | - 'identity_institution' => (string)$this->identityInstitution, |
|
| 123 | - 'second_factor_id' => (string)$this->secondFactorId, |
|
| 121 | + 'identity_id' => (string) $this->identityId, |
|
| 122 | + 'identity_institution' => (string) $this->identityInstitution, |
|
| 123 | + 'second_factor_id' => (string) $this->secondFactorId, |
|
| 124 | 124 | 'email_verification_required' => $this->emailVerificationRequired, |
| 125 | 125 | 'email_verification_window' => $this->emailVerificationWindow->serialize(), |
| 126 | 126 | 'email_verification_nonce' => $this->emailVerificationNonce, |
| 127 | - 'preferred_locale' => (string)$this->preferredLocale, |
|
| 127 | + 'preferred_locale' => (string) $this->preferredLocale, |
|
| 128 | 128 | ]; |
| 129 | 129 | } |
| 130 | 130 | |
@@ -88,13 +88,13 @@ |
||
| 88 | 88 | public function serialize(): array |
| 89 | 89 | { |
| 90 | 90 | return [ |
| 91 | - 'identity_id' => (string)$this->identityId, |
|
| 92 | - 'name_id' => (string)$this->nameId, |
|
| 93 | - 'institution' => (string)$this->identityInstitution, |
|
| 91 | + 'identity_id' => (string) $this->identityId, |
|
| 92 | + 'name_id' => (string) $this->nameId, |
|
| 93 | + 'institution' => (string) $this->identityInstitution, |
|
| 94 | 94 | 'registration_authority_role' => $this->registrationAuthorityRole->serialize(), |
| 95 | - 'location' => (string)$this->location, |
|
| 96 | - 'contact_information' => (string)$this->contactInformation, |
|
| 97 | - 'ra_institution' => (string)$this->raInstitution, |
|
| 95 | + 'location' => (string) $this->location, |
|
| 96 | + 'contact_information' => (string) $this->contactInformation, |
|
| 97 | + 'ra_institution' => (string) $this->raInstitution, |
|
| 98 | 98 | ]; |
| 99 | 99 | } |
| 100 | 100 | |
@@ -73,10 +73,10 @@ |
||
| 73 | 73 | public function serialize(): array |
| 74 | 74 | { |
| 75 | 75 | return [ |
| 76 | - 'identity_id' => (string)$this->identityId, |
|
| 77 | - 'institution' => (string)$this->identityInstitution, |
|
| 78 | - 'name_id' => (string)$this->nameId, |
|
| 79 | - 'ra_institution' => (string)$this->raInstitution, |
|
| 76 | + 'identity_id' => (string) $this->identityId, |
|
| 77 | + 'institution' => (string) $this->identityInstitution, |
|
| 78 | + 'name_id' => (string) $this->nameId, |
|
| 79 | + 'ra_institution' => (string) $this->raInstitution, |
|
| 80 | 80 | ]; |
| 81 | 81 | } |
| 82 | 82 | |
@@ -96,12 +96,12 @@ |
||
| 96 | 96 | public function serialize(): array |
| 97 | 97 | { |
| 98 | 98 | return [ |
| 99 | - 'identity_id' => (string)$this->identityId, |
|
| 100 | - 'identity_institution' => (string)$this->identityInstitution, |
|
| 101 | - 'second_factor_id' => (string)$this->secondFactorId, |
|
| 102 | - 'target_institution' => (string)$this->targetInstitution, |
|
| 103 | - 'target_second_factor_id' => (string)$this->targetSecondFactorId, |
|
| 104 | - 'second_factor_type' => (string)$this->secondFactorType, |
|
| 99 | + 'identity_id' => (string) $this->identityId, |
|
| 100 | + 'identity_institution' => (string) $this->identityInstitution, |
|
| 101 | + 'second_factor_id' => (string) $this->secondFactorId, |
|
| 102 | + 'target_institution' => (string) $this->targetInstitution, |
|
| 103 | + 'target_second_factor_id' => (string) $this->targetSecondFactorId, |
|
| 104 | + 'second_factor_type' => (string) $this->secondFactorType, |
|
| 105 | 105 | ]; |
| 106 | 106 | } |
| 107 | 107 | |
@@ -97,11 +97,11 @@ |
||
| 97 | 97 | public function serialize(): array |
| 98 | 98 | { |
| 99 | 99 | return [ |
| 100 | - 'identity_id' => (string)$this->identityId, |
|
| 101 | - 'identity_institution' => (string)$this->identityInstitution, |
|
| 102 | - 'recovery_token_id' => (string)$this->recoveryTokenId, |
|
| 100 | + 'identity_id' => (string) $this->identityId, |
|
| 101 | + 'identity_institution' => (string) $this->identityInstitution, |
|
| 102 | + 'recovery_token_id' => (string) $this->recoveryTokenId, |
|
| 103 | 103 | 'recovery_token_type' => RecoveryTokenType::TYPE_SMS, |
| 104 | - 'preferred_locale' => (string)$this->preferredLocale, |
|
| 104 | + 'preferred_locale' => (string) $this->preferredLocale, |
|
| 105 | 105 | ]; |
| 106 | 106 | } |
| 107 | 107 | |
@@ -120,13 +120,13 @@ |
||
| 120 | 120 | public function serialize(): array |
| 121 | 121 | { |
| 122 | 122 | return [ |
| 123 | - 'identity_id' => (string)$this->identityId, |
|
| 124 | - 'identity_institution' => (string)$this->identityInstitution, |
|
| 125 | - 'second_factor_id' => (string)$this->secondFactorId, |
|
| 126 | - 'second_factor_type' => (string)$this->secondFactorType, |
|
| 127 | - 'registration_requested_at' => (string)$this->registrationRequestedAt, |
|
| 123 | + 'identity_id' => (string) $this->identityId, |
|
| 124 | + 'identity_institution' => (string) $this->identityInstitution, |
|
| 125 | + 'second_factor_id' => (string) $this->secondFactorId, |
|
| 126 | + 'second_factor_type' => (string) $this->secondFactorType, |
|
| 127 | + 'registration_requested_at' => (string) $this->registrationRequestedAt, |
|
| 128 | 128 | 'registration_code' => $this->registrationCode, |
| 129 | - 'preferred_locale' => (string)$this->preferredLocale, |
|
| 129 | + 'preferred_locale' => (string) $this->preferredLocale, |
|
| 130 | 130 | ]; |
| 131 | 131 | } |
| 132 | 132 | |
@@ -80,10 +80,10 @@ |
||
| 80 | 80 | public function serialize(): array |
| 81 | 81 | { |
| 82 | 82 | return [ |
| 83 | - 'identity_id' => (string)$this->identityId, |
|
| 84 | - 'identity_institution' => (string)$this->identityInstitution, |
|
| 83 | + 'identity_id' => (string) $this->identityId, |
|
| 84 | + 'identity_institution' => (string) $this->identityInstitution, |
|
| 85 | 85 | 'hints' => $this->hints->serialize(), |
| 86 | - 'institution' => (string)$this->institution, |
|
| 86 | + 'institution' => (string) $this->institution, |
|
| 87 | 87 | ]; |
| 88 | 88 | } |
| 89 | 89 | } |
@@ -125,15 +125,15 @@ |
||
| 125 | 125 | public function serialize(): array |
| 126 | 126 | { |
| 127 | 127 | return [ |
| 128 | - 'identity_id' => (string)$this->identityId, |
|
| 129 | - 'source_institution' => (string)$this->sourceInstitution, |
|
| 130 | - 'target_name_id' => (string)$this->targetNameId, |
|
| 131 | - 'identity_institution' => (string)$this->identityInstitution, |
|
| 132 | - 'second_factor_id' => (string)$this->secondFactorId, |
|
| 133 | - 'new_second_factor_id' => (string)$this->newSecondFactorId, |
|
| 128 | + 'identity_id' => (string) $this->identityId, |
|
| 129 | + 'source_institution' => (string) $this->sourceInstitution, |
|
| 130 | + 'target_name_id' => (string) $this->targetNameId, |
|
| 131 | + 'identity_institution' => (string) $this->identityInstitution, |
|
| 132 | + 'second_factor_id' => (string) $this->secondFactorId, |
|
| 133 | + 'new_second_factor_id' => (string) $this->newSecondFactorId, |
|
| 134 | 134 | 'vetting_type' => $this->vettingType->jsonSerialize(), |
| 135 | - 'second_factor_type' => (string)$this->secondFactorType, |
|
| 136 | - 'preferred_locale' => (string)$this->preferredLocale, |
|
| 135 | + 'second_factor_type' => (string) $this->secondFactorType, |
|
| 136 | + 'preferred_locale' => (string) $this->preferredLocale, |
|
| 137 | 137 | ]; |
| 138 | 138 | } |
| 139 | 139 | |