@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | |
90 | 90 | /** |
91 | 91 | * @param string $registrationStatus |
92 | - * @return bool |
|
92 | + * @return boolean|null |
|
93 | 93 | */ |
94 | 94 | protected function validRegistrationStatus($registrationStatus) |
95 | 95 | { |
@@ -113,6 +113,10 @@ discard block |
||
113 | 113 | return true; |
114 | 114 | } |
115 | 115 | |
116 | + /** |
|
117 | + * @param \Surfnet\StepupMiddleware\ApiBundle\Identity\Entity\Identity $identity |
|
118 | + * @param string $secondFactorId |
|
119 | + */ |
|
116 | 120 | protected function vetSecondFactor($tokenType, $actorId, $identity, $secondFactorId, $verifiedSecondFactor, $phoneNumber) |
117 | 121 | { |
118 | 122 | $command = new VetSecondFactorCommand(); |
@@ -137,6 +141,9 @@ discard block |
||
137 | 141 | $this->enricher->setMetadata($metadata); |
138 | 142 | } |
139 | 143 | |
144 | + /** |
|
145 | + * @param \Surfnet\StepupMiddleware\ApiBundle\Identity\Entity\Identity $identity |
|
146 | + */ |
|
140 | 147 | protected function verifyEmail($identity, $unverifiedSecondFactor) |
141 | 148 | { |
142 | 149 | $command = new VerifyEmailCommand(); |