Passed
Push — master ( 1eac36...3fff91 )
by Thomas
10:26
created
src/Commands/SyncRatesCommand.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
             foreach ($period as $dt){
28 28
                 $this->syncRates($dt);
29 29
             }
30
-        }else{
30
+        } else{
31 31
             $this->syncRates($begin);
32 32
         }
33 33
         ExchangeRate::insertOrIgnore($this->rates);
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
         if($rates){
40 40
             $this->info($dt->format('d.m.Y') . ' synced');
41 41
             array_push($this->rates, ['date' => $dt->format('Y-m-d'), 'rates' => json_encode($rates)]);
42
-        }else{
42
+        } else{
43 43
             $this->error($dt->format('d.m.Y') . ' not synced');
44 44
         }
45 45
     }
Please login to merge, or discard this patch.