@@ -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 |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | Email::unknown(), |
109 | 109 | new Locale($data['preferred_locale']), |
110 | 110 | DateTime::fromString($data['registration_requested_at']), |
111 | - (string)$data['registration_code'], |
|
111 | + (string) $data['registration_code'], |
|
112 | 112 | ); |
113 | 113 | } |
114 | 114 | |
@@ -120,12 +120,12 @@ discard block |
||
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 | - '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 | + 'registration_requested_at' => (string) $this->registrationRequestedAt, |
|
127 | 127 | 'registration_code' => $this->registrationCode, |
128 | - 'preferred_locale' => (string)$this->preferredLocale, |
|
128 | + 'preferred_locale' => (string) $this->preferredLocale, |
|
129 | 129 | ]; |
130 | 130 | } |
131 | 131 |
@@ -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 |
@@ -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 |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | Email::unknown(), |
109 | 109 | new Locale($data['preferred_locale']), |
110 | 110 | DateTime::fromString($data['registration_requested_at']), |
111 | - (string)$data['registration_code'], |
|
111 | + (string) $data['registration_code'], |
|
112 | 112 | ); |
113 | 113 | } |
114 | 114 | |
@@ -120,12 +120,12 @@ discard block |
||
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 | - '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 | + 'registration_requested_at' => (string) $this->registrationRequestedAt, |
|
127 | 127 | 'registration_code' => $this->registrationCode, |
128 | - 'preferred_locale' => (string)$this->preferredLocale, |
|
128 | + 'preferred_locale' => (string) $this->preferredLocale, |
|
129 | 129 | ]; |
130 | 130 | } |
131 | 131 |
@@ -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 |