@@ -151,7 +151,7 @@ |
||
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 |
@@ -90,8 +90,7 @@ discard block |
||
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 |
||
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' |
@@ -132,7 +132,7 @@ |
||
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); |