@@ -19,7 +19,7 @@ |
||
19 | 19 | */ |
20 | 20 | public function lock($self, string $name, \Closure $closure) |
21 | 21 | { |
22 | - return $this->lockProvider($self, $name, (int)config('wallet.lock.seconds')) |
|
22 | + return $this->lockProvider($self, $name, (int) config('wallet.lock.seconds')) |
|
23 | 23 | ->get($this->bindTo($self, $closure)); |
24 | 24 | } |
25 | 25 |
@@ -22,7 +22,7 @@ |
||
22 | 22 | { |
23 | 23 | return app(LockService::class)->lock($this, __FUNCTION__, function () use ($transaction) { |
24 | 24 | $self = $this; |
25 | - return DB::transaction(static function() use ($self, $transaction) { |
|
25 | + return DB::transaction(static function () use ($self, $transaction) { |
|
26 | 26 | $wallet = app(WalletService::class) |
27 | 27 | ->getWallet($self); |
28 | 28 |
@@ -63,7 +63,7 @@ |
||
63 | 63 | * I think it is wrong to make the "assemble" method public. |
64 | 64 | * That's why I address him like this! |
65 | 65 | */ |
66 | - return DB::transaction(static function() use ($santa, $to, $product, $force) { |
|
66 | + return DB::transaction(static function () use ($santa, $to, $product, $force) { |
|
67 | 67 | $amount = $product->getAmountProduct(); |
68 | 68 | $meta = $product->getMetaProduct(); |
69 | 69 | $fee = app(WalletService::class) |