@@ -21,7 +21,7 @@ |
||
21 | 21 | */ |
22 | 22 | public function register() |
23 | 23 | { |
24 | - $this->app->singleton(Factory::class, function ($app) { |
|
24 | + $this->app->singleton(Factory::class, function($app) { |
|
25 | 25 | return new CurrencyRatesManager($app); |
26 | 26 | }); |
27 | 27 | } |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | } |
99 | 99 | |
100 | 100 | // Save the latest timestamp |
101 | - if ($date < $ts = strtotime($result['Date'].' '.$result['Time'])) { |
|
101 | + if ($date < $ts = strtotime($result['Date'] . ' ' . $result['Time'])) { |
|
102 | 102 | $date = $ts; |
103 | 103 | } |
104 | 104 | |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | |
110 | 110 | return new Result( |
111 | 111 | $base, |
112 | - new DateTime('@'.$date), |
|
112 | + new DateTime('@' . $date), |
|
113 | 113 | $rates |
114 | 114 | ); |
115 | 115 | } else { |