Completed
Push — master ( 990ac1...1ea292 )
by
unknown
02:16
created
Surfnet/StepupSelfService/SelfServiceBundle/Service/SecondFactorService.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,6 +129,11 @@  discard block
 block discarded – undo
129 129
                $vettedSecondFactors->getTotalItems() > 0;
130 130
     }
131 131
 
132
+    /**
133
+     * @param string $identityId
134
+     * @param string $state
135
+     * @param string $secondFactorId
136
+     */
132 137
     public function identityHasSecondFactorOfStateWithId($identityId, $state, $secondFactorId)
133 138
     {
134 139
         switch ($state) {
@@ -309,7 +314,7 @@  discard block
 block discarded – undo
309 314
     }
310 315
 
311 316
     /**
312
-     * @param $identity
317
+     * @param \Surfnet\StepupMiddlewareClientBundle\Identity\Dto\Identity $identity
313 318
      * @param $allSecondFactors
314 319
      * @param $allowedSecondFactors
315 320
      * @param $maximumNumberOfRegistrations
Please login to merge, or discard this patch.
DependencyInjection/SurfnetStepupSelfServiceSamlStepupProviderExtension.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -49,6 +49,9 @@  discard block
 block discarded – undo
49 49
         }
50 50
     }
51 51
 
52
+    /**
53
+     * @param string $provider
54
+     */
52 55
     private function loadProviderConfiguration(
53 56
         $provider,
54 57
         array $configuration,
@@ -237,6 +240,9 @@  discard block
 block discarded – undo
237 240
         $container->setDefinition('gssp.provider.' . $provider . '.metadata.factory', $metadataFactory);
238 241
     }
239 242
 
243
+    /**
244
+     * @param string $provider
245
+     */
240 246
     private function createRouteConfig($provider, $routeName)
241 247
     {
242 248
         // In the future, we ought to wrap this in an object.
@@ -247,6 +253,9 @@  discard block
 block discarded – undo
247 253
         ];
248 254
     }
249 255
 
256
+    /**
257
+     * @param string $type
258
+     */
250 259
     private function validateDescriptions($descriptions, $appUrl, $provider, $type)
251 260
     {
252 261
         $regex ="/%%{$type}_link_start%%[a-zA-Z0-9 ]+%%{$type}_link_end%%/";
Please login to merge, or discard this patch.