mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-03 12:45:20 +00:00
First version that supports Spectre.
This commit is contained in:
@@ -311,4 +311,30 @@ class ImportJobRepository implements ImportJobRepositoryInterface
|
||||
{
|
||||
return $job->uploadFileContents();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param ImportJob $job
|
||||
* @param int $count
|
||||
*
|
||||
* @return ImportJob
|
||||
*/
|
||||
public function setStepsDone(ImportJob $job, int $steps): ImportJob
|
||||
{
|
||||
$job->setStepsDone($steps);
|
||||
|
||||
return $job;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param ImportJob $job
|
||||
* @param int $count
|
||||
*
|
||||
* @return ImportJob
|
||||
*/
|
||||
public function setTotalSteps(ImportJob $job, int $count): ImportJob
|
||||
{
|
||||
$job->setTotalSteps($count);
|
||||
|
||||
return $job;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user