@@ -31,12 +31,12 @@ |
||
| 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, |