diff --git a/CHANGELOG.md b/CHANGELOG.md index f0a7568..1e63eef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# Version 5.3.1 +* Fix interface naming + # Version 5.3.0 * Added auto update count processed item while running job diff --git a/src/Processor/JobProcessor.php b/src/Processor/JobProcessor.php index 5f3182b..b59d995 100644 --- a/src/Processor/JobProcessor.php +++ b/src/Processor/JobProcessor.php @@ -4,7 +4,7 @@ namespace CodeRhapsodie\DataflowBundle\Processor; -use CodeRhapsodie\DataflowBundle\DataflowType\RepositoryInterface; +use CodeRhapsodie\DataflowBundle\DataflowType\AutoUpdateCountInterface; use CodeRhapsodie\DataflowBundle\DataflowType\Result; use CodeRhapsodie\DataflowBundle\Entity\Job; use CodeRhapsodie\DataflowBundle\Event\Events; @@ -31,7 +31,7 @@ public function process(Job $job): void $this->beforeProcessing($job); $dataflowType = $this->registry->getDataflowType($job->getDataflowType()); - if ($dataflowType instanceof RepositoryInterface) { + if ($dataflowType instanceof AutoUpdateCountInterface) { $dataflowType->setRepository($this->repository); }