|
@@ -197,7 +197,7 @@ discard block |
|
|
block discarded – undo |
|
197
|
197
|
*/ |
|
198
|
198
|
protected function getInfoFromComposer($pkg) |
|
199
|
199
|
{ |
|
200
|
|
- $lockFileJSON = BASE_PATH . '/composer.lock'; |
|
|
200
|
+ $lockFileJSON = BASE_PATH.'/composer.lock'; |
|
201
|
201
|
|
|
202
|
202
|
if (!file_exists($lockFileJSON) || !is_readable($lockFileJSON)) { |
|
203
|
203
|
return self::SLW_NOOP; |
|
@@ -226,7 +226,7 @@ discard block |
|
|
block discarded – undo |
|
226
|
226
|
protected function fetchNodeUrl() |
|
227
|
227
|
{ |
|
228
|
228
|
$chainpointUrls = $this->config()->get('chainpoint_urls'); |
|
229
|
|
- $url = $chainpointUrls[rand(0,2)]; |
|
|
229
|
+ $url = $chainpointUrls[rand(0, 2)]; |
|
230
|
230
|
$response = $this->client($url, 'GET', [], false); |
|
231
|
231
|
|
|
232
|
232
|
// TODO Set the URL as a class-property and re-use that, rather than re-calling fetchNodeUrl() |
Please login to merge, or discard this patch.