Completed
Pull Request — master (#51)
by Бабичев
07:35
created
src/Traits/CanExchange.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
          */
44 44
         $from = $this;
45 45
 
46
-        return DB::transaction(function () use ($from, $to, $amount) {
46
+        return DB::transaction(function() use ($from, $to, $amount) {
47 47
             $rate = app(CurrencyService::class)->rate($from, $to);
48 48
             $withdraw = $this->withdraw($amount);
49 49
             $deposit = $to->deposit($amount * $rate);
Please login to merge, or discard this patch.