Completed
Push — feature/improve-input-validati... ( 8f7b6e )
by Michiel
02:14
created
MiddlewareBundle/Console/Command/AbstractBootstrapCommand.php 1 patch
Doc Comments   +8 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 
90 90
     /**
91 91
      * @param string $registrationStatus
92
-     * @return bool
92
+     * @return boolean|null
93 93
      */
94 94
     protected function validRegistrationStatus($registrationStatus)
95 95
     {
@@ -113,6 +113,10 @@  discard block
 block discarded – undo
113 113
         return true;
114 114
     }
115 115
 
116
+    /**
117
+     * @param \Surfnet\StepupMiddleware\ApiBundle\Identity\Entity\Identity $identity
118
+     * @param string $secondFactorId
119
+     */
116 120
     protected function vetSecondFactor($tokenType, $actorId, $identity, $secondFactorId, $verifiedSecondFactor, $phoneNumber)
117 121
     {
118 122
         $command = new VetSecondFactorCommand();
@@ -137,6 +141,9 @@  discard block
 block discarded – undo
137 141
         $this->enricher->setMetadata($metadata);
138 142
     }
139 143
 
144
+    /**
145
+     * @param \Surfnet\StepupMiddleware\ApiBundle\Identity\Entity\Identity $identity
146
+     */
140 147
     protected function verifyEmail($identity, $unverifiedSecondFactor)
141 148
     {
142 149
         $command = new VerifyEmailCommand();
Please login to merge, or discard this patch.