@@ -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 |
@@ -167,7 +167,7 @@ discard block |
||
167 | 167 | |
168 | 168 | |
169 | 169 | if ($rel) { |
170 | - $url = ($rel ? $this->getDiscoveredNodes()[0] : '') . $url; |
|
170 | + $url = ($rel ? $this->getDiscoveredNodes()[0] : '').$url; |
|
171 | 171 | } |
172 | 172 | |
173 | 173 | return $client->$method($url, $payload); |
@@ -200,7 +200,7 @@ discard block |
||
200 | 200 | |
201 | 201 | $limit = (int) $this->config()->get('discover_node_count') ?: 1; |
202 | 202 | $chainpointUrls = $this->config()->get('chainpoint_urls'); |
203 | - $url = $chainpointUrls[rand(0,2)]; |
|
203 | + $url = $chainpointUrls[rand(0, 2)]; |
|
204 | 204 | $response = $this->client($url, 'GET', [], false); |
205 | 205 | |
206 | 206 | if ($response->getStatusCode() !== 200) { |