@@ -137,6 +137,10 @@ discard block |
||
137 | 137 | ); |
138 | 138 | } |
139 | 139 | |
140 | + /** |
|
141 | + * @param string $secondFactorId |
|
142 | + * @param \Surfnet\StepupMiddleware\ApiBundle\Identity\Entity\Identity $identity |
|
143 | + */ |
|
140 | 144 | private function provePossession($secondFactorId, $identity, $phoneNumber) |
141 | 145 | { |
142 | 146 | $command = new ProvePhonePossessionCommand(); |
@@ -147,6 +151,9 @@ discard block |
||
147 | 151 | $this->process($command); |
148 | 152 | } |
149 | 153 | |
154 | + /** |
|
155 | + * @param \Surfnet\StepupMiddleware\ApiBundle\Identity\Entity\Identity $identity |
|
156 | + */ |
|
150 | 157 | private function verifyEmail($identity, $unverifiedSecondFactor) |
151 | 158 | { |
152 | 159 | $command = new VerifyEmailCommand(); |
@@ -78,8 +78,8 @@ discard block |
||
78 | 78 | } |
79 | 79 | |
80 | 80 | /** |
81 | - * @param $identityId |
|
82 | - * @param $tokenType |
|
81 | + * @param string $identityId |
|
82 | + * @param string $tokenType |
|
83 | 83 | * @return UnverifiedSecondFactor|null |
84 | 84 | */ |
85 | 85 | public function findUnverifiedToken($identityId, $tokenType) |
@@ -90,8 +90,8 @@ discard block |
||
90 | 90 | } |
91 | 91 | |
92 | 92 | /** |
93 | - * @param $identityId |
|
94 | - * @param $tokenType |
|
93 | + * @param string $identityId |
|
94 | + * @param string $tokenType |
|
95 | 95 | * @return VerifiedSecondFactor|null |
96 | 96 | */ |
97 | 97 | public function findVerifiedToken($identityId, $tokenType) |