Skip to content

Commit

Permalink
Scrutinizer Auto-Fixes
Browse files Browse the repository at this point in the history
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
  • Loading branch information
scrutinizer-auto-fixer committed Nov 8, 2018
1 parent e296177 commit c2c95d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/HasWallet.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ public function getBalanceAttribute(): int
*/
$collection = $this->getRelation('balance');
$relation = $collection->first();
static::$cachedBalances[$this->getKey()] = (int)($relation->total ?? 0);
static::$cachedBalances[$this->getKey()] = (int) ($relation->total ?? 0);
}

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

0 comments on commit c2c95d8

Please sign in to comment.