mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-05-04 13:16:31 +00:00
Code cleanup [skip ci]
This commit is contained in:
@@ -106,6 +106,7 @@ class FakeJobConfiguration implements JobConfigurationInterface
|
||||
|
||||
/**
|
||||
* Return the data required for the next step in the job configuration.
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
* @return array
|
||||
*/
|
||||
@@ -144,6 +145,7 @@ class FakeJobConfiguration implements JobConfigurationInterface
|
||||
if (strtolower($album) !== 'station to station' && $this->importJob->stage !== 'new') {
|
||||
return 'import.fake.enter-album';
|
||||
}
|
||||
|
||||
return 'impossible-view'; // @codeCoverageIgnore
|
||||
}
|
||||
|
||||
@@ -152,7 +154,7 @@ class FakeJobConfiguration implements JobConfigurationInterface
|
||||
*/
|
||||
public function setImportJob(ImportJob $importJob): void
|
||||
{
|
||||
$this->importJob = $importJob;
|
||||
$this->importJob = $importJob;
|
||||
$this->repository = app(ImportJobRepositoryInterface::class);
|
||||
$this->repository->setUser($importJob->user);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user