fix typo
This commit is contained in:
parent
775ab910d1
commit
cdd037e0ae
|
|
@ -67,7 +67,7 @@ class ExchangeRates extends ExchangeRate
|
|||
$result = json_decode($result->getBody()->getContents(), true);
|
||||
|
||||
if (isset($result['success']) && ! $result['success']) {
|
||||
throw new E\xception(
|
||||
throw new \Exception(
|
||||
isset($result['error']['info'])
|
||||
? $result['error']['info']
|
||||
: $result['error']['type'], 1);
|
||||
|
|
|
|||
Loading…
Reference in New Issue