Add return call so the error is not called.

This commit is contained in:
James Cole
2018-05-25 06:27:32 +02:00
parent 70110208fc
commit dae8092ecd

View File

@@ -67,7 +67,8 @@ class BunqRoutine implements RoutineInterface
// make user choose accounts to import from.
$this->repository->setStage($this->importJob, 'choose-accounts');
$this->repository->setStatus($this->importJob, 'need_job_config');
break;
return;
case 'go-for-import':
// list all of the users accounts.
$this->repository->setStatus($this->importJob, 'running');
@@ -82,7 +83,7 @@ class BunqRoutine implements RoutineInterface
$this->repository->setStatus($this->importJob, 'provider_finished');
$this->repository->setStage($this->importJob, 'final');
break;
return;
}
}
throw new FireflyException(sprintf('bunq import routine cannot handle status "%s"', $this->importJob->status)); // @codeCoverageIgnore