Skip to content

Commit 2a7196c

Browse files
authored
Merge pull request #7 from bavix/scrutinizer-patch-1
Scrutinizer Auto-Fixes
2 parents e296177 + c2c95d8 commit 2a7196c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/HasWallet.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public function getBalanceAttribute(): int
236236
*/
237237
$collection = $this->getRelation('balance');
238238
$relation = $collection->first();
239-
static::$cachedBalances[$this->getKey()] = (int)($relation->total ?? 0);
239+
static::$cachedBalances[$this->getKey()] = (int) ($relation->total ?? 0);
240240
}
241241

242242
return static::$cachedBalances[$this->getKey()];

0 commit comments

Comments
 (0)