@@ -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 | { |
@@ -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 | { |
@@ -176,7 +176,7 @@ |
||
176 | 176 | * @see: StepUpAuthenticationServiceTest::test_resolve_highest_required_loa_conbinations |
177 | 177 | * |
178 | 178 | * @param string $requestedLoa The SP requested LoA |
179 | - * @param $identityNameId |
|
179 | + * @param null|string $identityNameId |
|
180 | 180 | * @param string $identityInstitution |
181 | 181 | * @param ServiceProvider $serviceProvider |
182 | 182 | * @return null|Loa |
@@ -331,7 +331,7 @@ |
||
331 | 331 | } |
332 | 332 | |
333 | 333 | /** |
334 | - * @param $context |
|
334 | + * @param \Surfnet\StepupGateway\GatewayBundle\Saml\ResponseContext $context |
|
335 | 335 | * @return SAMLResponse |
336 | 336 | */ |
337 | 337 | private function createResponseFailureResponse($context) |
@@ -149,7 +149,7 @@ |
||
149 | 149 | |
150 | 150 | /** |
151 | 151 | * @param Assertion $assertion |
152 | - * @param $authnContextClassRef |
|
152 | + * @param string $authnContextClassRef |
|
153 | 153 | */ |
154 | 154 | private function addAuthenticationStatementTo(Assertion $assertion, $authnContextClassRef) |
155 | 155 | { |