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