@@ -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 | { |