@@ -76,7 +76,7 @@ |
||
76 | 76 | * are not configured to be used with the usage given |
77 | 77 | * |
78 | 78 | * @param array $configuredKeys |
79 | - * @param $usage |
|
79 | + * @param null|string $usage |
|
80 | 80 | */ |
81 | 81 | public function loadKeys(array $configuredKeys, $usage) |
82 | 82 | { |
@@ -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'); |
@@ -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 | { |
@@ -70,7 +70,6 @@ |
||
70 | 70 | /** |
71 | 71 | * Convert this BaseID to XML. |
72 | 72 | * |
73 | - * @param \DOMElement $element The element we are converting to XML. |
|
74 | 73 | * @return \DOMElement The XML element after adding the data corresponding to this BaseID. |
75 | 74 | */ |
76 | 75 | public function toXML(\DOMElement $parent = null) |
@@ -77,7 +77,6 @@ |
||
77 | 77 | /** |
78 | 78 | * Convert this NameIDType to XML. |
79 | 79 | * |
80 | - * @param \DOMElement $element The element we are converting to XML. |
|
81 | 80 | * |
82 | 81 | * @return \DOMElement The XML element after adding the data corresponding to this NameIDType. |
83 | 82 | */ |
@@ -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 | */ |