@@ -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 | { |
@@ -728,7 +728,7 @@ discard block |
||
| 728 | 728 | /** |
| 729 | 729 | * Set the issuer of this message. |
| 730 | 730 | * |
| 731 | - * @param string|\SAML2\XML\saml\Issuer $issuer The new issuer of this assertion. |
|
| 731 | + * @param string $issuer The new issuer of this assertion. |
|
| 732 | 732 | */ |
| 733 | 733 | public function setIssuer($issuer) |
| 734 | 734 | { |
@@ -774,7 +774,7 @@ discard block |
||
| 774 | 774 | /** |
| 775 | 775 | * Check whether the NameId is encrypted. |
| 776 | 776 | * |
| 777 | - * @return true if the NameId is encrypted, false if not. |
|
| 777 | + * @return boolean if the NameId is encrypted, false if not. |
|
| 778 | 778 | */ |
| 779 | 779 | public function isNameIdEncrypted() |
| 780 | 780 | { |
@@ -1209,7 +1209,7 @@ discard block |
||
| 1209 | 1209 | * |
| 1210 | 1210 | * The URI reference MAY directly resolve into an XML document containing the referenced declaration. |
| 1211 | 1211 | * |
| 1212 | - * @return string |
|
| 1212 | + * @return Chunk |
|
| 1213 | 1213 | */ |
| 1214 | 1214 | public function getAuthnContextDeclRef() |
| 1215 | 1215 | { |
@@ -1341,7 +1341,7 @@ discard block |
||
| 1341 | 1341 | /** |
| 1342 | 1342 | * Retrieve the encryptedAttributes elements we have. |
| 1343 | 1343 | * |
| 1344 | - * @return array Array of \DOMElement elements. |
|
| 1344 | + * @return \DOMElement[] Array of \DOMElement elements. |
|
| 1345 | 1345 | */ |
| 1346 | 1346 | public function getEncryptedAttributes() |
| 1347 | 1347 | { |
@@ -1351,7 +1351,7 @@ discard block |
||
| 1351 | 1351 | /** |
| 1352 | 1352 | * Set the encryptedAttributes elements |
| 1353 | 1353 | * |
| 1354 | - * @param array $encAttrs Array of \DOMElement elements. |
|
| 1354 | + * @param \DOMElement[] $encAttrs Array of \DOMElement elements. |
|
| 1355 | 1355 | */ |
| 1356 | 1356 | public function setEncryptedAttributes(array $encAttrs) |
| 1357 | 1357 | { |
@@ -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 | { |