@@ -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 | |
@@ -30,8 +30,8 @@ |
||
| 30 | 30 | class IdentityAccreditedAsRaForInstitutionEvent extends IdentityEvent implements RightToObtainDataInterface |
| 31 | 31 | { |
| 32 | 32 | /** |
| 33 | - * @var string[] |
|
| 34 | - */ |
|
| 33 | + * @var string[] |
|
| 34 | + */ |
|
| 35 | 35 | private array $allowlist = [ |
| 36 | 36 | 'identity_id', |
| 37 | 37 | 'name_id', |
@@ -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 | |
@@ -84,12 +84,12 @@ |
||
| 84 | 84 | public function serialize(): array |
| 85 | 85 | { |
| 86 | 86 | return [ |
| 87 | - 'identity_id' => (string)$this->identityId, |
|
| 88 | - 'institution' => (string)$this->identityInstitution, |
|
| 89 | - 'name_id' => (string)$this->nameId, |
|
| 90 | - 'location' => (string)$this->location, |
|
| 91 | - 'contact_information' => (string)$this->contactInformation, |
|
| 92 | - 'ra_institution' => (string)$this->raInstitution, |
|
| 87 | + 'identity_id' => (string) $this->identityId, |
|
| 88 | + 'institution' => (string) $this->identityInstitution, |
|
| 89 | + 'name_id' => (string) $this->nameId, |
|
| 90 | + 'location' => (string) $this->location, |
|
| 91 | + 'contact_information' => (string) $this->contactInformation, |
|
| 92 | + 'ra_institution' => (string) $this->raInstitution, |
|
| 93 | 93 | ]; |
| 94 | 94 | } |
| 95 | 95 | |
@@ -82,11 +82,11 @@ |
||
| 82 | 82 | public function serialize(): array |
| 83 | 83 | { |
| 84 | 84 | return [ |
| 85 | - 'identity_id' => (string)$this->identityId, |
|
| 86 | - 'institution' => (string)$this->identityInstitution, |
|
| 87 | - 'name_id' => (string)$this->nameId, |
|
| 88 | - 'location' => (string)$this->location, |
|
| 89 | - 'contact_information' => (string)$this->contactInformation, |
|
| 85 | + 'identity_id' => (string) $this->identityId, |
|
| 86 | + 'institution' => (string) $this->identityInstitution, |
|
| 87 | + 'name_id' => (string) $this->nameId, |
|
| 88 | + 'location' => (string) $this->location, |
|
| 89 | + 'contact_information' => (string) $this->contactInformation, |
|
| 90 | 90 | ]; |
| 91 | 91 | } |
| 92 | 92 | |
@@ -84,10 +84,10 @@ |
||
| 84 | 84 | public function serialize(): array |
| 85 | 85 | { |
| 86 | 86 | return [ |
| 87 | - 'identity_id' => (string)$this->identityId, |
|
| 88 | - 'identity_institution' => (string)$this->identityInstitution, |
|
| 89 | - 'name_id' => (string)$this->nameId, |
|
| 90 | - 'ra_institution' => (string)$this->raInstitution, |
|
| 87 | + 'identity_id' => (string) $this->identityId, |
|
| 88 | + 'identity_institution' => (string) $this->identityInstitution, |
|
| 89 | + 'name_id' => (string) $this->nameId, |
|
| 90 | + 'ra_institution' => (string) $this->raInstitution, |
|
| 91 | 91 | ]; |
| 92 | 92 | } |
| 93 | 93 | |
@@ -77,9 +77,9 @@ |
||
| 77 | 77 | public function serialize(): array |
| 78 | 78 | { |
| 79 | 79 | return [ |
| 80 | - 'identity_id' => (string)$this->identityId, |
|
| 81 | - 'identity_institution' => (string)$this->identityInstitution, |
|
| 82 | - 'name_id' => (string)$this->nameId, |
|
| 80 | + 'identity_id' => (string) $this->identityId, |
|
| 81 | + 'identity_institution' => (string) $this->identityInstitution, |
|
| 82 | + 'name_id' => (string) $this->nameId, |
|
| 83 | 83 | ]; |
| 84 | 84 | } |
| 85 | 85 | |
@@ -72,8 +72,8 @@ |
||
| 72 | 72 | public function serialize(): array |
| 73 | 73 | { |
| 74 | 74 | return [ |
| 75 | - 'id' => (string)$this->identityId, |
|
| 76 | - 'institution' => (string)$this->identityInstitution, |
|
| 75 | + 'id' => (string) $this->identityId, |
|
| 76 | + 'institution' => (string) $this->identityInstitution, |
|
| 77 | 77 | ]; |
| 78 | 78 | } |
| 79 | 79 | |
@@ -123,12 +123,12 @@ |
||
| 123 | 123 | public function serialize(): array |
| 124 | 124 | { |
| 125 | 125 | return [ |
| 126 | - 'identity_id' => (string)$this->identityId, |
|
| 127 | - 'name_id' => (string)$this->nameId, |
|
| 128 | - 'identity_institution' => (string)$this->identityInstitution, |
|
| 129 | - 'second_factor_id' => (string)$this->secondFactorId, |
|
| 130 | - 'second_factor_type' => (string)$this->secondFactorType, |
|
| 131 | - 'preferred_locale' => (string)$this->preferredLocale, |
|
| 126 | + 'identity_id' => (string) $this->identityId, |
|
| 127 | + 'name_id' => (string) $this->nameId, |
|
| 128 | + 'identity_institution' => (string) $this->identityInstitution, |
|
| 129 | + 'second_factor_id' => (string) $this->secondFactorId, |
|
| 130 | + 'second_factor_type' => (string) $this->secondFactorType, |
|
| 131 | + 'preferred_locale' => (string) $this->preferredLocale, |
|
| 132 | 132 | ]; |
| 133 | 133 | } |
| 134 | 134 | |