mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-08 21:28:40 +00:00
fix ecb currency parsing
This commit is contained in:
parent
e008c094e5
commit
6bb827e97a
|
|
@ -97,7 +97,7 @@ final class Currency
|
||||||
*/
|
*/
|
||||||
public static function getEcbEuroRates() : array
|
public static function getEcbEuroRates() : array
|
||||||
{
|
{
|
||||||
if (!empty(self::$ecbCurrencies)) {
|
if (empty(self::$ecbCurrencies)) {
|
||||||
$request = new Request(new Http('https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml'));
|
$request = new Request(new Http('https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml'));
|
||||||
$request->setMethod(RequestMethod::GET);
|
$request->setMethod(RequestMethod::GET);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user