Use correct methods.

This commit is contained in:
James Cole
2020-03-31 07:40:20 +02:00
parent 61521cf478
commit 8d3fc18ca6

View File

@@ -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