From cf03ed9dc9ef433ea64cd302c72847309dfade05 Mon Sep 17 00:00:00 2001 From: Scrutinizer Auto-Fixer Date: Tue, 25 Jun 2019 10:53:19 +0000 Subject: [PATCH] Scrutinizer Auto-Fixes This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com --- src/Services/WalletService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Services/WalletService.php b/src/Services/WalletService.php index bbd91c2c8..cd71c092a 100644 --- a/src/Services/WalletService.php +++ b/src/Services/WalletService.php @@ -22,7 +22,7 @@ class WalletService public function fee(Wallet $wallet, int $amount): int { if ($wallet instanceof Taxable) { - return (int)($amount * $wallet->getFeePercent() / 100); + return (int) ($amount * $wallet->getFeePercent() / 100); } return 0; @@ -67,7 +67,7 @@ public function getBalance(Wallet $object): int $wallet->exists or $wallet->save(); $proxy = app(ProxyService::class); if (!$proxy->has($wallet->getKey())) { - $proxy->set($wallet->getKey(), (int)$wallet->getOriginal('balance', 0)); + $proxy->set($wallet->getKey(), (int) $wallet->getOriginal('balance', 0)); } return $proxy[$wallet->getKey()];