Completed
Pull Request — master (#1)
by Бабичев
04:54 queued 02:39
created
src/Services/StoreService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
         /**
18 18
          * @var Model $object
19 19
          */
20
-        return __METHOD__ . $object->getKey();
20
+        return __METHOD__.$object->getKey();
21 21
     }
22 22
 
23 23
 }
Please login to merge, or discard this patch.
src/Store.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,8 +21,7 @@
 block discarded – undo
21 21
         $walletService = app(WalletService::class);
22 22
         $wallet = $walletService->getWallet($object);
23 23
         $balance = method_exists($wallet, 'getRawOriginal') ?
24
-            $wallet->getRawOriginal('balance', 0) :
25
-            $wallet->getOriginal('balance', 0);
24
+            $wallet->getRawOriginal('balance', 0) : $wallet->getOriginal('balance', 0);
26 25
 
27 26
         return Cache::get(
28 27
             app(StoreService::class)->getCacheKey($object),
Please login to merge, or discard this patch.