Completed
Branch gettersetter (94d61b)
by Tim
02:24
created
src/SAML2/Response.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/SAML2/Response/Processor.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/SAML2/SOAPClient.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -212,6 +212,10 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.
src/SAML2/Message.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -355,7 +355,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/SAML2/Assertion.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -728,7 +728,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/SAML2/LogoutRequest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/SAML2/Utils.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -269,8 +269,8 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/SAML2/XML/ecp/Response.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/SAML2/XML/md/AffiliationDescriptor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.