Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Use correct methods.
James Coleae2b28fdee66
diff --git a/app/Services/Internal/Support/RecurringTransactionTrait.php b/app/Services/Internal/Support/RecurringTransactionTrait.phpindex f1f15f8522..bf6f2f9ba6 100644--- a/app/Services/Internal/Support/RecurringTransactionTrait.php+++ b/app/Services/Internal/Support/RecurringTransactionTrait.php@@ -106,6 +106,8 @@ trait RecurringTransactionTraitthrow new FireflyException(sprintf('Destination invalid: %s', $validator->destError)); // @codeCoverageIgnore}+ // TODO typeOverrule: the account validator may have another opinion on the transaction type.+$transaction = new RecurrenceTransaction(['recurrence_id' => $recurrence->id,diff --git a/app/Services/Internal/Update/JournalUpdateService.php b/app/Services/Internal/Update/JournalUpdateService.phpindex d2343c50c1..a8746201c8 100644--- a/app/Services/Internal/Update/JournalUpdateService.php+++ b/app/Services/Internal/Update/JournalUpdateService.php@@ -362,6 +362,8 @@ class JournalUpdateService$result = $validator->validateDestination($destId, $destName, null);Log::debug(sprintf('hasValidDestinationAccount(%d, "%s") will return %s', $destId, $destName, var_export($result, true)));+ // TODO typeOverrule: the account validator may have another opinion on the transaction type.+// validate submitted info:return $result;}@@ -394,6 +396,8 @@ class JournalUpdateService$result = $validator->validateSource($sourceId, $sourceName, null);Log::debug(sprintf('hasValidSourceAccount(%d, "%s") will return %s', $sourceId, $sourceName, var_export($result, true)));+ // TODO typeOverrule: the account validator may have another opinion on the transaction type.+// validate submitted info:return $result;}