@@ -107,7 +107,7 @@ |
||
| 107 | 107 | /** |
| 108 | 108 | * Check whether the NameId is encrypted. |
| 109 | 109 | * |
| 110 | - * @return true if the NameId is encrypted, false if not. |
|
| 110 | + * @return boolean if the NameId is encrypted, false if not. |
|
| 111 | 111 | */ |
| 112 | 112 | public function isNameIdEncrypted() |
| 113 | 113 | { |
@@ -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'); |
@@ -694,7 +694,7 @@ discard block |
||
| 694 | 694 | /** |
| 695 | 695 | * Check whether the NameId is encrypted. |
| 696 | 696 | * |
| 697 | - * @return true if the NameId is encrypted, false if not. |
|
| 697 | + * @return boolean if the NameId is encrypted, false if not. |
|
| 698 | 698 | */ |
| 699 | 699 | public function isNameIdEncrypted() |
| 700 | 700 | { |
@@ -1096,7 +1096,7 @@ discard block |
||
| 1096 | 1096 | * |
| 1097 | 1097 | * The URI reference MAY directly resolve into an XML document containing the referenced declaration. |
| 1098 | 1098 | * |
| 1099 | - * @return string |
|
| 1099 | + * @return Chunk |
|
| 1100 | 1100 | */ |
| 1101 | 1101 | public function getAuthnContextDeclRef() |
| 1102 | 1102 | { |
@@ -260,7 +260,7 @@ |
||
| 260 | 260 | * |
| 261 | 261 | * @param \DOMElement $node The element we should fetch the attribute from. |
| 262 | 262 | * @param string $attributeName The name of the attribute. |
| 263 | - * @param mixed $default The value that should be returned if the attribute doesn't exist. |
|
| 263 | + * @param false|null $default The value that should be returned if the attribute doesn't exist. |
|
| 264 | 264 | * @return bool|mixed The value of the attribute, or $default if the attribute doesn't exist. |
| 265 | 265 | * @throws \Exception |
| 266 | 266 | */ |