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