Skip to content

Firefly III: a personal finances manager

Use correct methods.

James Cole8d3fc18ca6f8
diff --git a/app/Http/Requests/RecurrenceFormRequest.php b/app/Http/Requests/RecurrenceFormRequest.php
index 857b18010c..49495d0d55 100644
--- a/app/Http/Requests/RecurrenceFormRequest.php
+++ b/app/Http/Requests/RecurrenceFormRequest.php
@@ -246,6 +246,8 @@ class RecurrenceFormRequest extends Request
$sourceId = null;
$destinationId = null;
+ // TODO typeOverrule: the account validator may have another opinion on the transaction type.
+
switch ($this->string('transaction_type')) {
default:
throw new FireflyException(sprintf('Cannot handle transaction type "%s"', $this->string('transaction_type'))); // @codeCoverageIgnore