From dae8092ecdf9076981816636bd62a020d5ff1998 Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 25 May 2018 06:27:32 +0200 Subject: [PATCH] Add return call so the error is not called. --- app/Import/Routine/BunqRoutine.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Import/Routine/BunqRoutine.php b/app/Import/Routine/BunqRoutine.php index fe58acd99b..0f29d089f8 100644 --- a/app/Import/Routine/BunqRoutine.php +++ b/app/Import/Routine/BunqRoutine.php @@ -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