Completed
Pull Request — develop (#302)
by Michiel
04:10 queued 02:06
created
MiddlewareBundle/Console/Command/AbstractBootstrapCommand.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -92,6 +92,10 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
Console/Command/BootstrapIdentityWithSmsSecondFactorCommand.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -149,6 +149,9 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
Surfnet/StepupMiddleware/MiddlewareBundle/Service/TokenBootstrapService.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.