James Cole 2024-01-21 15:58:40 +01:00
parent 2907db1380
commit 4a37152aea
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80

View File

@ -459,6 +459,6 @@ class CreditRecalculateService
*/
private function isTransferOut(string $amount, string $transactionType): bool
{
return TransactionType::DEPOSIT === $transactionType && -1 === bccomp($amount, '0');
return TransactionType::TRANSFER === $transactionType && -1 === bccomp($amount, '0');
}
}