From 8f18bedae9bd5550b1c705b97b810214b321d77c Mon Sep 17 00:00:00 2001 From: Florian Voutzinos Date: Tue, 3 Mar 2020 10:00:18 +0000 Subject: [PATCH] Apply fixes from StyleCI --- tests/Tests/Service/EuropeanCentralBankTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Tests/Service/EuropeanCentralBankTest.php b/tests/Tests/Service/EuropeanCentralBankTest.php index 4b8569a..feda52b 100644 --- a/tests/Tests/Service/EuropeanCentralBankTest.php +++ b/tests/Tests/Service/EuropeanCentralBankTest.php @@ -72,7 +72,7 @@ public function it_fetches_a_historical_rate_within_90_days_back() $pair = CurrencyPair::createFromString('EUR/JPY'); $service = new EuropeanCentralBank($this->getHttpAdapterMock($url, $content)); - $date = (new \DateTime)->modify('2019-11-29'); + $date = (new \DateTime())->modify('2019-11-29'); $rate = $service->getExchangeRate( new HistoricalExchangeRateQuery($pair, $date)