Completed
Branch gettersetter (d9b5dd)
by Tim
01:59
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/SOAP.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace SAML2;
4 4
 
5 5
 use DOMDocument;
6
-
7 6
 use SAML2\XML\ecp\Response as ECPResponse;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.
src/SAML2/Assertion.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use RobRichards\XMLSecLibs\XMLSecEnc;
6 6
 use RobRichards\XMLSecLibs\XMLSecurityKey;
7
-use SAML2\Exception\RuntimeException;
8 7
 use SAML2\Utilities\Temporal;
9 8
 use SAML2\XML\Chunk;
10 9
 use SAML2\XML\saml\SubjectConfirmation;
Please login to merge, or discard this patch.
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -730,7 +730,7 @@  discard block
 block discarded – undo
730 730
     /**
731 731
      * Set the issuer of this message.
732 732
      *
733
-     * @param string|\SAML2\XML\saml\Issuer $issuer The new issuer of this assertion.
733
+     * @param string $issuer The new issuer of this assertion.
734 734
      */
735 735
     public function setIssuer($issuer)
736 736
     {
@@ -777,7 +777,7 @@  discard block
 block discarded – undo
777 777
     /**
778 778
      * Check whether the NameId is encrypted.
779 779
      *
780
-     * @return true if the NameId is encrypted, false if not.
780
+     * @return boolean if the NameId is encrypted, false if not.
781 781
      */
782 782
     public function isNameIdEncrypted()
783 783
     {
@@ -1192,7 +1192,7 @@  discard block
 block discarded – undo
1192 1192
     /**
1193 1193
      * Set the authentication context declaration reference.
1194 1194
      *
1195
-     * @param string|\SAML2\XML\Chunk $authnContextDeclRef
1195
+     * @param string $authnContextDeclRef
1196 1196
      * @throws \Exception
1197 1197
      */
1198 1198
     public function setAuthnContextDeclRef($authnContextDeclRef)
@@ -1212,7 +1212,7 @@  discard block
 block discarded – undo
1212 1212
      *
1213 1213
      * The URI reference MAY directly resolve into an XML document containing the referenced declaration.
1214 1214
      *
1215
-     * @return string
1215
+     * @return Chunk
1216 1216
      */
1217 1217
     public function getAuthnContextDeclRef()
1218 1218
     {
@@ -1344,7 +1344,7 @@  discard block
 block discarded – undo
1344 1344
     /**
1345 1345
      * Retrieve the encryptedAttributes elements we have.
1346 1346
      *
1347
-     * @return array Array of \DOMElement elements.
1347
+     * @return \DOMElement[] Array of \DOMElement elements.
1348 1348
      */
1349 1349
     public function getEncryptedAttributes()
1350 1350
     {
@@ -1354,7 +1354,7 @@  discard block
 block discarded – undo
1354 1354
     /**
1355 1355
      * Set the encryptedAttributes elements
1356 1356
      *
1357
-     * @param array $encAttrs Array of \DOMElement elements.
1357
+     * @param \DOMElement[] $encAttrs Array of \DOMElement elements.
1358 1358
      */
1359 1359
     public function setEncryptedAttributes(array $encAttrs)
1360 1360
     {
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 2 patches
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.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use DOMElement;
6 6
 use InvalidArgumentException;
7
-
8 7
 use SAML2\Constants;
9 8
 
10 9
 /**
Please login to merge, or discard this patch.