@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | |
82 | 82 | /** |
83 | 83 | * @param SecondFactorType $secondFactorType |
84 | - * @param SecondFactorTypeService|SecondFactorType $other |
|
84 | + * @param SecondFactorType $other |
|
85 | 85 | * @return bool |
86 | 86 | */ |
87 | 87 | public function hasEqualOrHigherLoaComparedTo(SecondFactorType $secondFactorType, SecondFactorType $other) |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | |
92 | 92 | /** |
93 | 93 | * @param SecondFactorType $secondFactorType |
94 | - * @param SecondFactorTypeService|SecondFactorType $other |
|
94 | + * @param SecondFactorType $other |
|
95 | 95 | * @return bool |
96 | 96 | */ |
97 | 97 | public function hasEqualOrLowerLoaComparedTo(SecondFactorType $secondFactorType, SecondFactorType $other) |
@@ -67,7 +67,6 @@ |
||
67 | 67 | * Proving possession by verifying the OTP, the recipient received and typed in a web form, matches the OTP that was |
68 | 68 | * sent. Various results can be returned in the form of a ProofOfPossessionResult. |
69 | 69 | * |
70 | - * @param VerifyPossessionOfPhoneCommand $challengeCommand |
|
71 | 70 | * @return OtpVerification |
72 | 71 | */ |
73 | 72 | public function verifyPossession(VerifyPossessionOfPhoneCommand $command); |
@@ -31,6 +31,9 @@ |
||
31 | 31 | JSON_ERROR_UTF8 => 'JSON_ERROR_UTF8 - Malformed UTF-8 characters, possibly incorrectly encoded', |
32 | 32 | ]; |
33 | 33 | |
34 | + /** |
|
35 | + * @param string $json |
|
36 | + */ |
|
34 | 37 | public static function decode($json) |
35 | 38 | { |
36 | 39 | if (!is_string($json)) { |