No changes between revisions
/trunk/PHP/currency_calc.inc.php |
75,7 → 75,7 |
|
if ((!isset($data['success'])) || ($data['success'] !== true)) { |
if ($raise_exception) { |
if (isset($data['error'])) throw new CurrencyLayerException($data['error']['code'] . ' : ' . $data['error']['info']); |
if (isset($test_data['error'])) throw new CurrencyLayerException($test_data['error']['code'] . ' : ' . $test_data['error']['info']); |
throw new CurCalcException('JSON file '.$this->jsonfile.' does not contain valid request data. Please download it again.'); |
} else { |
return false; |
/trunk/. |
Property changes: |
Modified: svn:ignore |
*.identcache |
*.stat |
Output |
-.phpstan.tmp |
-phpstan.neon |
- |