Skip to content

Commit 9d9969c

Browse files
committed
* Fix interface naming
1 parent 4e82b11 commit 9d9969c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Version 5.3.&
2+
* Fix interface naming
3+
14
# Version 5.3.0
25
* Added auto update count processed item while running job
36

src/Processor/JobProcessor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace CodeRhapsodie\DataflowBundle\Processor;
66

7-
use CodeRhapsodie\DataflowBundle\DataflowType\RepositoryInterface;
7+
use CodeRhapsodie\DataflowBundle\DataflowType\AutoUpdateCountInterface;
88
use CodeRhapsodie\DataflowBundle\DataflowType\Result;
99
use CodeRhapsodie\DataflowBundle\Entity\Job;
1010
use CodeRhapsodie\DataflowBundle\Event\Events;
@@ -31,7 +31,7 @@ public function process(Job $job): void
3131
$this->beforeProcessing($job);
3232

3333
$dataflowType = $this->registry->getDataflowType($job->getDataflowType());
34-
if ($dataflowType instanceof RepositoryInterface) {
34+
if ($dataflowType instanceof AutoUpdateCountInterface) {
3535
$dataflowType->setRepository($this->repository);
3636
}
3737

0 commit comments

Comments
 (0)