Passed
Push — master ( 4d245d...34e392 )
by Russell
02:43
created
src/Control/VerifiableAdminController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@
 block discarded – undo
151 151
     {
152 152
         $refl = new \ReflectionClass(__CLASS__);
153 153
         $const = array_search($status, $refl->getConstants());
154
-        $keyJson = file_get_contents(realpath(__DIR__) . '/../../statuses.json');
154
+        $keyJson = file_get_contents(realpath(__DIR__).'/../../statuses.json');
155 155
         $keyMap = json_decode($keyJson, true);
156 156
         $defn = '';
157 157
 
Please login to merge, or discard this patch.
src/Extension/VerifiableExtension.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -90,8 +90,7 @@  discard block
 block discarded – undo
90 90
         $fields = $owner->VerifiableFields ?: '[]';
91 91
 
92 92
         return $owner->getSourceMode() === self::SOURCE_MODE_FIELD ?
93
-                    json_decode($fields) :
94
-                    [];
93
+                    json_decode($fields) : [];
95 94
     }
96 95
 
97 96
     /**
@@ -274,7 +273,7 @@  discard block
 block discarded – undo
274 273
             $list[$item->Version] = sprintf('Version: %s (Created: %s)', $item->Version, $item->LastEdited);
275 274
         }
276 275
 
277
-        $fields->addFieldsToTab($tabRootName . '.Verify', FieldList::create([
276
+        $fields->addFieldsToTab($tabRootName.'.Verify', FieldList::create([
278 277
             LiteralField::create('Introduction', '<p class="message intro">Select a version'
279 278
                     . ' whose data you wish to verify, then select the "Verify"'
280 279
                     . ' button. After a few seconds, a verification status will be'
Please login to merge, or discard this patch.
src/Backend/Chainpoint/Gateway.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
             }
133 133
 
134 134
             if ($rel) {
135
-                $url = ($rel ? $this->getDiscoveredNodes()[0] : '')  . $url;
135
+                $url = ($rel ? $this->getDiscoveredNodes()[0] : '').$url;
136 136
             }
137 137
 
138 138
             return $client->$method($url, $payload);
Please login to merge, or discard this patch.