@@ -92,6 +92,10 @@ |
||
92 | 92 | return true; |
93 | 93 | } |
94 | 94 | |
95 | + /** |
|
96 | + * @param string $tokenType |
|
97 | + * @param string $secondFactorId |
|
98 | + */ |
|
95 | 99 | protected function vetSecondFactor($tokenType, $actorId, $identity, $secondFactorId, $verifiedSecondFactor, $phoneNumber) |
96 | 100 | { |
97 | 101 | $command = new VetSecondFactorCommand(); |
@@ -149,6 +149,9 @@ |
||
149 | 149 | ); |
150 | 150 | } |
151 | 151 | |
152 | + /** |
|
153 | + * @param string $secondFactorId |
|
154 | + */ |
|
152 | 155 | private function provePossession($secondFactorId, $identity, $phoneNumber) |
153 | 156 | { |
154 | 157 | $command = new ProvePhonePossessionCommand(); |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | |
80 | 80 | /** |
81 | 81 | * @param $identityId |
82 | - * @param $tokenType |
|
82 | + * @param string $tokenType |
|
83 | 83 | * @return UnverifiedSecondFactor|null |
84 | 84 | */ |
85 | 85 | public function findUnverifiedToken($identityId, $tokenType) |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | |
92 | 92 | /** |
93 | 93 | * @param $identityId |
94 | - * @param $tokenType |
|
94 | + * @param string $tokenType |
|
95 | 95 | * @return VerifiedSecondFactor|null |
96 | 96 | */ |
97 | 97 | public function findVerifiedToken($identityId, $tokenType) |