Completed
Branch gettersetter (44c408)
by Tim
01:48
created
src/SAML2/LogoutRequest.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -284,7 +284,7 @@
 block discarded – undo
284 284
         if ($this->getEncryptedNameId() === null) {
285 285
             $this->nameId->toXML($root);
286 286
         } else {
287
-            $eid = $root->ownerDocument->createElementNS(Constants::NS_SAML, 'saml:' . 'EncryptedID');
287
+            $eid = $root->ownerDocument->createElementNS(Constants::NS_SAML, 'saml:'.'EncryptedID');
288 288
             $root->appendChild($eid);
289 289
             $eid->appendChild($root->ownerDocument->importNode($this->getEncryptedNameId(), true));
290 290
         }
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/IndexedEndpointType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
         }
41 41
 
42 42
         if (!$xml->hasAttribute('index')) {
43
-            throw new \Exception('Missing index on ' . $xml->tagName);
43
+            throw new \Exception('Missing index on '.$xml->tagName);
44 44
         }
45 45
         $this->setIndex(intval($xml->getAttribute('index')));
46 46
 
Please login to merge, or discard this patch.
src/SAML2/XML/md/RoleDescriptor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
         }
119 119
 
120 120
         if (!$xml->hasAttribute('protocolSupportEnumeration')) {
121
-            throw new \Exception('Missing protocolSupportEnumeration attribute on ' . $xml->localName);
121
+            throw new \Exception('Missing protocolSupportEnumeration attribute on '.$xml->localName);
122 122
         }
123 123
         $this->setProtocolSupportEnumeration(preg_split('/[\s]+/', $xml->getAttribute('protocolSupportEnumeration')));
124 124
 
Please login to merge, or discard this patch.
src/SAML2/XML/saml/SubjectConfirmationData.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@
 block discarded – undo
152 152
     public function setAddress($address = null)
153 153
     {
154 154
         assert(is_string($address) || is_null($address));
155
-        if (!is_null($address) && !filter_var($address, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4|FILTER_FLAG_IPV6)) {
155
+        if (!is_null($address) && !filter_var($address, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 | FILTER_FLAG_IPV6)) {
156 156
             throw new \InvalidArgumentException('Provided argument is not a valid IP address.');
157 157
         }
158 158
         $this->Address = $address;
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/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.