@@ -201,7 +201,7 @@ |
||
| 201 | 201 | |
| 202 | 202 | $limit = (int) $this->config()->get('discover_node_count') ?: 1; |
| 203 | 203 | $chainpointUrls = $this->config()->get('chainpoint_urls'); |
| 204 | - $url = $chainpointUrls[rand(0,2)]; |
|
| 204 | + $url = $chainpointUrls[rand(0, 2)]; |
|
| 205 | 205 | $response = $this->client($url, 'GET', [], false); |
| 206 | 206 | |
| 207 | 207 | if ($response->getStatusCode() !== 200) { |
@@ -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 | |