Completed
Push — release/3.1 ( 4bc9e6...ab193b )
by Michiel
03:25 queued 01:15
created
MiddlewareBundle/Console/Command/BootstrapSmsSecondFactorCommand.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -137,6 +137,10 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
MiddlewareBundle/Console/Command/BootstrapYubikeySecondFactorCommand.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -136,6 +136,10 @@
 block discarded – undo
136 136
         );
137 137
     }
138 138
 
139
+    /**
140
+     * @param string $secondFactorId
141
+     * @param \Surfnet\StepupMiddleware\ApiBundle\Identity\Entity\Identity $identity
142
+     */
139 143
     private function provePossession($secondFactorId, $identity, $phoneNumber)
140 144
     {
141 145
         $command = new ProveYubikeyPossessionCommand();
Please login to merge, or discard this patch.
MiddlewareBundle/Console/Command/AbstractBootstrapCommand.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -93,6 +93,10 @@  discard block
 block discarded – undo
93 93
         return true;
94 94
     }
95 95
 
96
+    /**
97
+     * @param \Surfnet\StepupMiddleware\ApiBundle\Identity\Entity\Identity $identity
98
+     * @param string $secondFactorId
99
+     */
96 100
     protected function vetSecondFactor($tokenType, $actorId, $identity, $secondFactorId, $verifiedSecondFactor, $phoneNumber)
97 101
     {
98 102
         $command = new VetSecondFactorCommand();
@@ -117,6 +121,9 @@  discard block
 block discarded – undo
117 121
         $this->enricher->setMetadata($metadata);
118 122
     }
119 123
 
124
+    /**
125
+     * @param \Surfnet\StepupMiddleware\ApiBundle\Identity\Entity\Identity $identity
126
+     */
120 127
     protected function verifyEmail($identity, $unverifiedSecondFactor)
121 128
     {
122 129
         $command = new VerifyEmailCommand();
Please login to merge, or discard this patch.
MiddlewareBundle/Console/Command/BootstrapGsspSecondFactorCommand.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -143,6 +143,10 @@
 block discarded – undo
143 143
         );
144 144
     }
145 145
 
146
+    /**
147
+     * @param string $secondFactorId
148
+     * @param \Surfnet\StepupMiddleware\ApiBundle\Identity\Entity\Identity $identity
149
+     */
146 150
     private function provePossession($secondFactorId, $identity, $tokenType, $tokenIdentifier)
147 151
     {
148 152
         $command = new ProveGssfPossessionCommand();
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
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
     }
79 79
 
80 80
     /**
81
-     * @param $identityId
81
+     * @param string $identityId
82 82
      * @param $tokenType
83 83
      * @return UnverifiedSecondFactor|null
84 84
      */
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
     }
91 91
 
92 92
     /**
93
-     * @param $identityId
93
+     * @param string $identityId
94 94
      * @param $tokenType
95 95
      * @return VerifiedSecondFactor|null
96 96
      */
Please login to merge, or discard this patch.