Completed
Branch release-4-alpha (2ab080)
by Tim
02:00
created
src/SAML2/LogoutRequest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
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
     {
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/Assertion.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -694,7 +694,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
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 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.
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/Certificate/KeyLoader.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use SAML2\Certificate\Exception\InvalidCertificateStructureException;
8 8
 use SAML2\Certificate\Exception\NoKeysFoundException;
9 9
 use SAML2\Configuration\CertificateProvider;
10
-use SAML2\Exception\InvalidArgumentException;
11 10
 use SAML2\Utilities\Certificate;
12 11
 use SAML2\Utilities\File;
13 12
 
Please login to merge, or discard this patch.
src/SAML2/Certificate/PrivateKey.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@
 block discarded – undo
18 18
         return new self($keyData);
19 19
     }
20 20
 
21
+    /**
22
+     * @return string
23
+     */
21 24
     public function getKeyAsString()
22 25
     {
23 26
         return $this->keyData['PEM'];
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,6 @@
 block discarded – undo
4 4
 
5 5
 namespace SAML2\Certificate;
6 6
 
7
-use SAML2\Exception\InvalidArgumentException;
8
-
9 7
 final class PrivateKey extends Key
10 8
 {
11 9
     public static function create(string $keyContents, string $passphrase = null)
Please login to merge, or discard this patch.
src/SAML2/Utils.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -269,7 +269,7 @@
 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|null $default       The value that should be returned if the attribute doesn't exist.
272
+     * @param  false|null $default       The value that should be returned if the attribute doesn't exist.
273 273
      * @return bool|mixed The value of the attribute, or $default if the attribute doesn't exist.
274 274
      * @throws \Exception
275 275
      */
Please login to merge, or discard this patch.