Passed
Push — master ( 27b1bc...e91b72 )
by Бабичев
02:18
created
src/Traits/HasWallet.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -236,7 +236,7 @@
 block discarded – undo
236 236
              */
237 237
             $collection = $this->getRelation('balance');
238 238
             $relation = $collection->first();
239
-            static::$cachedBalances[$this->getKey()] = (int)($relation->total ?? 0);
239
+            static::$cachedBalances[$this->getKey()] = (int) ($relation->total ?? 0);
240 240
         }
241 241
 
242 242
         return static::$cachedBalances[$this->getKey()];
Please login to merge, or discard this patch.