Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
krutyosila committed Dec 11, 2020
1 parent c8adb19 commit 0e86e96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/WalletService.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function create(WalletTransactionType $types)
$wallet->balance = $wallet->balance + $types->getAmount();
$wallet->save();
}
if (($types->getType() == self::TYPE_DEPOSIT OR $types->getType() == self::TYPE_WIN OR self::TYPE_BONUS) && $types->getConfirmed()) {
if (($types->getType() == self::TYPE_DEPOSIT OR $types->getType() == self::TYPE_WIN OR $types->getType() == self::TYPE_BONUS) && $types->getConfirmed()) {
$wallet->balance = $wallet->balance + $types->getAmount();
$wallet->save();
}
Expand Down

0 comments on commit 0e86e96

Please sign in to comment.