mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Replace enum
This commit is contained in:
@@ -452,7 +452,7 @@ class TransactionJournalFactory
|
||||
|
||||
return match ($type) {
|
||||
default => $this->getCurrency($currency, $source),
|
||||
TransactionType::DEPOSIT => $this->getCurrency($currency, $destination),
|
||||
TransactionTypeEnum::DEPOSIT->value => $this->getCurrency($currency, $destination),
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user