Code cleanup and realign.

This commit is contained in:
James Cole
2018-08-06 19:14:30 +02:00
parent f7eef25fed
commit 5908c0ce8c
188 changed files with 1019 additions and 1031 deletions

View File

@@ -27,7 +27,7 @@ use Exception;
use GuzzleHttp\Client;
use GuzzleHttp\Exception\GuzzleException;
use Log;
use RunTimeException;
use RuntimeException;
/**
* Class IpifyOrg
@@ -58,7 +58,7 @@ class IpifyOrg implements IPRetrievalInterface
}
try {
$body = (string)$res->getBody()->getContents();
} catch (RunTimeException $e) {
} catch (RuntimeException $e) {
Log::error(sprintf('Could not get body from ipify.org result: %s', $e->getMessage()));
$body = null;
}