mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-17 09:51:40 +00:00
Replace enum
This commit is contained in:
@@ -151,7 +151,7 @@ class AccountValidator
|
||||
|
||||
break;
|
||||
|
||||
case TransactionType::TRANSFER:
|
||||
case TransactionTypeEnum::TRANSFER->value:
|
||||
$result = $this->validateTransferDestination($array);
|
||||
|
||||
break;
|
||||
@@ -196,7 +196,7 @@ class AccountValidator
|
||||
|
||||
break;
|
||||
|
||||
case TransactionType::TRANSFER:
|
||||
case TransactionTypeEnum::TRANSFER->value:
|
||||
$result = $this->validateTransferSource($array);
|
||||
|
||||
break;
|
||||
|
Reference in New Issue
Block a user