Passed
Pull Request — master (#83)
by Бабичев
10:15
created
src/Services/LockService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Traits/CanConfirm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Traits/HasGift.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.