@@ -311,7 +311,7 @@ |
||
| 311 | 311 | } |
| 312 | 312 | |
| 313 | 313 | /** |
| 314 | - * @param $context |
|
| 314 | + * @param \Surfnet\StepupGateway\GatewayBundle\Saml\ResponseContext $context |
|
| 315 | 315 | * @return SAML2_Response |
| 316 | 316 | */ |
| 317 | 317 | private function createResponseFailureResponse($context) |
@@ -53,6 +53,9 @@ discard block |
||
| 53 | 53 | } |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | + /** |
|
| 57 | + * @param string $provider |
|
| 58 | + */ |
|
| 56 | 59 | private function loadProviderConfiguration( |
| 57 | 60 | $provider, |
| 58 | 61 | array $configuration, |
@@ -223,6 +226,9 @@ discard block |
||
| 223 | 226 | $container->setDefinition('gssp.provider.' . $provider . '.metadata.factory', $metadataFactory); |
| 224 | 227 | } |
| 225 | 228 | |
| 229 | + /** |
|
| 230 | + * @param string $provider |
|
| 231 | + */ |
|
| 226 | 232 | private function createRouteConfig($provider, $routeName) |
| 227 | 233 | { |
| 228 | 234 | return [ |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | { |
| 27 | 27 | /** |
| 28 | 28 | * @param KeyHandle $keyHandle |
| 29 | - * @return Registration|null |
|
| 29 | + * @return Registration |
|
| 30 | 30 | */ |
| 31 | 31 | public function findByKeyHandle(KeyHandle $keyHandle) |
| 32 | 32 | { |
@@ -184,7 +184,7 @@ |
||
| 184 | 184 | |
| 185 | 185 | /** |
| 186 | 186 | * @param KeyHandle $keyHandle |
| 187 | - * @return null|Registration |
|
| 187 | + * @return Registration |
|
| 188 | 188 | */ |
| 189 | 189 | public function findRegistrationByKeyHandle(KeyHandle $keyHandle) |
| 190 | 190 | { |
@@ -146,6 +146,7 @@ |
||
| 146 | 146 | /** |
| 147 | 147 | * @param SAML2_Assertion $assertion |
| 148 | 148 | * @param SAML2_Assertion $assertion |
| 149 | + * @param string $authnContextClassRef |
|
| 149 | 150 | */ |
| 150 | 151 | private function addAuthenticationStatementTo(SAML2_Assertion $assertion, $authnContextClassRef) |
| 151 | 152 | { |
@@ -346,6 +346,9 @@ |
||
| 346 | 346 | $this->smsService->clearSmsVerificationState(); |
| 347 | 347 | } |
| 348 | 348 | |
| 349 | + /** |
|
| 350 | + * @param string $identityNameId |
|
| 351 | + */ |
|
| 349 | 352 | private function determineInstitutionsByIdentityNameId($identityNameId) |
| 350 | 353 | { |
| 351 | 354 | return $this->secondFactorRepository->getAllInstitutions($identityNameId); |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | } |
| 91 | 91 | |
| 92 | 92 | /** |
| 93 | - * @return mixed|null |
|
| 93 | + * @return string |
|
| 94 | 94 | */ |
| 95 | 95 | public function getAuthMethod() |
| 96 | 96 | { |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | } |
| 99 | 99 | |
| 100 | 100 | /** |
| 101 | - * @return mixed|null |
|
| 101 | + * @return string |
|
| 102 | 102 | */ |
| 103 | 103 | public function getContext() |
| 104 | 104 | { |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | } |
| 107 | 107 | |
| 108 | 108 | /** |
| 109 | - * @return mixed|null |
|
| 109 | + * @return string |
|
| 110 | 110 | */ |
| 111 | 111 | public function getAssertionConsumerServiceUrl() |
| 112 | 112 | { |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | |
| 130 | 130 | /** |
| 131 | 131 | * @param string $key |
| 132 | - * @param mixed $value Any scalar |
|
| 132 | + * @param string $value Any scalar |
|
| 133 | 133 | */ |
| 134 | 134 | protected function set($key, $value) |
| 135 | 135 | { |