Skip to content

Commit c2c95d8

Browse files
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
1 parent e296177 commit c2c95d8

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)