1 Commits

Author SHA1 Message Date
AUDUL
0938f7fd1e Fix interface naming (#80)
* Fix interface naming
2025-10-02 15:36:14 +02:00
2 changed files with 5 additions and 2 deletions

View File

@@ -1,3 +1,6 @@
# Version 5.3.1
* Fix interface naming
# Version 5.3.0
* Added auto update count processed item while running job

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
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 @@ class JobProcessor implements JobProcessorInterface, LoggerAwareInterface
$this->beforeProcessing($job);
$dataflowType = $this->registry->getDataflowType($job->getDataflowType());
if ($dataflowType instanceof RepositoryInterface) {
if ($dataflowType instanceof AutoUpdateCountInterface) {
$dataflowType->setRepository($this->repository);
}