@@ -129,6 +129,11 @@ discard block |
||
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 |
||
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 |
@@ -49,6 +49,9 @@ discard block |
||
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 |
||
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 |
||
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%%/"; |