Clean up some code.

This commit is contained in:
James Cole
2020-10-13 06:35:33 +02:00
parent 3bd5ac21c9
commit 4e51f0abc4
33 changed files with 149 additions and 294 deletions

View File

@@ -196,7 +196,6 @@ class PiggyBankRepository implements PiggyBankRepositoryInterface
}
// currency of the account + the piggy bank currency are almost the same.
// which amount from the transaction matches?
// $currency->id === $piggyBankCurrency->id
$amount = null;
if ((int)$source->transaction_currency_id === (int)$currency->id) {
Log::debug('Use normal amount');