Completed
Branch gettersetter (44c408)
by Tim
01:48
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/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/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.
src/SAML2/XML/md/EntitiesDescriptor.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.
src/SAML2/Assertion.php 1 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/XML/md/EntityDescriptor.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.