Passed
Push — main ( f30243...8e9323 )
by Thierry
05:49
created
app/Console/Commands/CopyClosingsToTable.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,12 +31,12 @@
 block discarded – undo
31 31
     public function handle()
32 32
     {
33 33
         DB::transaction(function() {
34
-            foreach(Tontine::cursor() as $tontine)
34
+            foreach (Tontine::cursor() as $tontine)
35 35
             {
36 36
                 $closings = $tontine->properties['closings'] ?? [];
37
-                foreach($closings as $sessionId => $funds)
37
+                foreach ($closings as $sessionId => $funds)
38 38
                 {
39
-                    foreach($funds as $fundId => $profitAmount)
39
+                    foreach ($funds as $fundId => $profitAmount)
40 40
                     {
41 41
                         Closing::updateOrCreate([
42 42
                             'type' => Closing::TYPE_ROUND,
Please login to merge, or discard this patch.