Passed
Branch master (05a47f)
by Rene
03:04
created
Category
src/CurrencyRatesServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Providers/YahooProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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 {
Please login to merge, or discard this patch.