@@ -45,7 +45,7 @@ |
||
45 | 45 | /** |
46 | 46 | * Retrieve the assertions in this response. |
47 | 47 | * |
48 | - * @return \SAML2\Assertion[]|\SAML2\EncryptedAssertion[] |
|
48 | + * @return Utilities\ArrayCollection |
|
49 | 49 | */ |
50 | 50 | public function getAssertions() |
51 | 51 | { |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | * @param \SAML2\Configuration\Destination $currentDestination |
65 | 65 | * @param \SAML2\Response $response |
66 | 66 | * |
67 | - * @return \SAML2\Assertion[] Collection (\SAML2\Utilities\ArrayCollection) of \SAML2\Assertion objects |
|
67 | + * @return \SAML2\Utilities\ArrayCollection Collection (\SAML2\Utilities\ArrayCollection) of \SAML2\Assertion objects |
|
68 | 68 | */ |
69 | 69 | public function process( |
70 | 70 | ServiceProvider $serviceProviderConfiguration, |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | /** |
135 | 135 | * @param \SAML2\Response $response |
136 | 136 | * |
137 | - * @return \SAML2\Assertion[] |
|
137 | + * @return \SAML2\Utilities\ArrayCollection |
|
138 | 138 | */ |
139 | 139 | private function processAssertions(Response $response) |
140 | 140 | { |
@@ -212,6 +212,10 @@ |
||
212 | 212 | * @param $soapmessage Soap response needs to be type DOMDocument |
213 | 213 | * @return $soapfaultstring string|null |
214 | 214 | */ |
215 | + |
|
216 | + /** |
|
217 | + * @param \DOMDocument $soapMessage |
|
218 | + */ |
|
215 | 219 | private function getSOAPFault($soapMessage) |
216 | 220 | { |
217 | 221 | $soapFault = Utils::xpQuery($soapMessage->firstChild, '/soap-env:Envelope/soap-env:Body/soap-env:Fault'); |
@@ -355,7 +355,7 @@ |
||
355 | 355 | /** |
356 | 356 | * Retrieve the issuer if this message. |
357 | 357 | * |
358 | - * @return string|\SAML2\XML\saml\Issuer|null The issuer of this message, or NULL if no issuer is given |
|
358 | + * @return string The issuer of this message, or NULL if no issuer is given |
|
359 | 359 | */ |
360 | 360 | public function getIssuer() |
361 | 361 | { |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | /** |
109 | 109 | * Check whether the NameId is encrypted. |
110 | 110 | * |
111 | - * @return true if the NameId is encrypted, false if not. |
|
111 | + * @return boolean if the NameId is encrypted, false if not. |
|
112 | 112 | */ |
113 | 113 | public function isNameIdEncrypted() |
114 | 114 | { |
@@ -187,7 +187,7 @@ discard block |
||
187 | 187 | /** |
188 | 188 | * Set the name identifier of the session that should be terminated. |
189 | 189 | * |
190 | - * @param \SAML2\XML\saml\NameID|array|null $nameId The name identifier of the session that should be terminated. |
|
190 | + * @param NameID|null $nameId The name identifier of the session that should be terminated. |
|
191 | 191 | */ |
192 | 192 | public function setNameId($nameId) |
193 | 193 | { |
@@ -269,8 +269,8 @@ |
||
269 | 269 | * |
270 | 270 | * @param \DOMElement $node The element we should fetch the attribute from. |
271 | 271 | * @param string $attributeName The name of the attribute. |
272 | - * @param mixed $default The value that should be returned if the attribute doesn't exist. |
|
273 | - * @return bool|mixed The value of the attribute, or $default if the attribute doesn't exist. |
|
272 | + * @param false|null $default The value that should be returned if the attribute doesn't exist. |
|
273 | + * @return boolean|null The value of the attribute, or $default if the attribute doesn't exist. |
|
274 | 274 | * @throws \Exception |
275 | 275 | */ |
276 | 276 | public static function parseBoolean(\DOMElement $node, $attributeName, $default = null) |
@@ -62,7 +62,7 @@ |
||
62 | 62 | |
63 | 63 | /** |
64 | 64 | * Set the value of the AssertionConsumerServiceURL-property |
65 | - * @param string $AssertionConsumerServiceURL |
|
65 | + * @param string $assertionConsumerServiceURL |
|
66 | 66 | */ |
67 | 67 | public function setAssertionConsumerServiceURL($assertionConsumerServiceURL) |
68 | 68 | { |
@@ -198,7 +198,7 @@ |
||
198 | 198 | |
199 | 199 | /** |
200 | 200 | * Set the value of the Extensions-property |
201 | - * @param array $extensions |
|
201 | + * @param \SAML2\XML\Chunk[] $extensions |
|
202 | 202 | */ |
203 | 203 | public function setExtensions(array $extensions) |
204 | 204 | { |
@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | |
268 | 268 | /** |
269 | 269 | * Set the value of the Extensions-property |
270 | - * @param array $extensions |
|
270 | + * @param \SAML2\XML\Chunk[] $extensions |
|
271 | 271 | */ |
272 | 272 | public function setExtensions(array $extensions) |
273 | 273 | { |
@@ -312,7 +312,7 @@ discard block |
||
312 | 312 | |
313 | 313 | /** |
314 | 314 | * Set the value of the AffliationDescriptor-property |
315 | - * @param \SAML2\XML\md\AffiliationDescriptor $affiliationDescriptor|null |
|
315 | + * @param \SAML2\XML\md\AffiliationDescriptor $affiliationDescriptor |
|
316 | 316 | */ |
317 | 317 | public function setAffiliationDescriptor(AffiliationDescriptor $affiliationDescriptor = null) |
318 | 318 | { |
@@ -330,7 +330,7 @@ discard block |
||
330 | 330 | |
331 | 331 | /** |
332 | 332 | * Set the value of the Organization-property |
333 | - * @param \SAML2\XML\md\Organization $organization|null |
|
333 | + * @param \SAML2\XML\md\Organization $organization |
|
334 | 334 | */ |
335 | 335 | public function setOrganization(Organization $organization = null) |
336 | 336 | { |