Skip to content

Commit 1ffac30

Browse files
Aniket-INgithub-actions[bot]
authored andcommitted
Fix styling
1 parent e7f2990 commit 1ffac30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Models/Wallet.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ public function withdraw(int $amount, string $description, bool $force = false,
6767

6868
$transaction['ob'] = $wallet->balance;
6969

70-
if ($wallet->balance < $amount && !$force) {
70+
if ($wallet->balance < $amount && ! $force) {
7171
throw new Exception("To withdraw more than wallet balance you need to use force mode.");
7272
}
7373

74-
if ($wallet->withdrawable_balance < $amount && !$bypass_withdrawable_limit) {
74+
if ($wallet->withdrawable_balance < $amount && ! $bypass_withdrawable_limit) {
7575
throw new Exception("Withdrawable balance exceeds! Max withdrawable limit is set to {$wallet->withdrawable_balance}.");
7676
}
7777

0 commit comments

Comments
 (0)