mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Code cleanup for scrutinizer.
This commit is contained in:
@@ -487,7 +487,7 @@ class BillRepository implements BillRepositoryInterface
|
||||
$wordMatch = $this->doWordMatch($matches, $description);
|
||||
$amountMatch = $this->doAmountMatch($journal->amountPositive(), $bill->amount_min, $bill->amount_max);
|
||||
|
||||
// If both, update!
|
||||
// when both, update!
|
||||
if ($wordMatch && $amountMatch) {
|
||||
$journal->bill()->associate($bill);
|
||||
$journal->save();
|
||||
|
Reference in New Issue
Block a user