Passed
Push — master ( 726337...7cb397 )
by
unknown
17:46
created
src/records/AbstractProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -35,14 +35,14 @@  discard block
 block discarded – undo
35 35
      */
36 36
     public function beforeSave($insert)
37 37
     {
38
-        if (! $this->entityId) {
38
+        if (!$this->entityId) {
39 39
             $this->entityId = $this->getEntityId();
40 40
         }
41 41
 
42 42
         /**
43 43
          * Remove the signature if it exists.
44 44
          */
45
-        if($this->getMetadataModel()->getSignature()) {
45
+        if ($this->getMetadataModel()->getSignature()) {
46 46
             $this->removeSignature();
47 47
         }
48 48
 
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      */
64 64
     protected function removeSignature()
65 65
     {
66
-        if($this->getMetadataModel()->getSignature()) {
66
+        if ($this->getMetadataModel()->getSignature()) {
67 67
             $doc = new \DOMDocument('1.0', 'UTF-8');
68 68
             $doc->loadXML($this->metadata);
69 69
             $doc->documentElement->removeChild(
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      */
90 90
     public function getMetadataModel(): EntityDescriptor
91 91
     {
92
-        if (! $this->metadataModel) {
92
+        if (!$this->metadataModel) {
93 93
             $this->metadataModel = EntityDescriptor::loadXml($this->metadata);
94 94
         }
95 95
 
Please login to merge, or discard this patch.
src/services/messages/AbstractLogoutRequest.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,7 @@
 block discarded – undo
52 52
         $logout->setDestination(
53 53
             $provider->getType() === AbstractPlugin::SP ?
54 54
                 $provider->getMetadataModel()->getFirstSpSsoDescriptor()->getFirstSingleLogoutService(
55
-                )->getLocation() :
56
-                $provider->getMetadataModel()->getFirstIdpSsoDescriptor()->getFirstSingleLogoutService(
55
+                )->getLocation() : $provider->getMetadataModel()->getFirstIdpSsoDescriptor()->getFirstSingleLogoutService(
57 56
                 )->getLocation()
58 57
         );
59 58
         /**
Please login to merge, or discard this patch.