Skip to content

Commit 8d4d670

Browse files
committed
* Fix CI
1 parent 4c1f1a7 commit 8d4d670

6 files changed

Lines changed: 2 additions & 8 deletions

File tree

src/DataflowType/Dataflow/AMPAsyncDataflow.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
use CodeRhapsodie\DataflowBundle\DataflowType\Result;
1818
use CodeRhapsodie\DataflowBundle\DataflowType\Writer\WriterInterface;
19-
use Psr\Log\LoggerAwareInterface;
2019
use Psr\Log\LoggerAwareTrait;
2120

2221
class AMPAsyncDataflow implements DataflowInterface

src/DataflowType/Dataflow/Dataflow.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
use CodeRhapsodie\DataflowBundle\DataflowType\Result;
88
use CodeRhapsodie\DataflowBundle\DataflowType\Writer\WriterInterface;
9-
use Psr\Log\LoggerAwareInterface;
109
use Psr\Log\LoggerAwareTrait;
1110

1211
class Dataflow implements DataflowInterface

src/ExceptionsHandler/ExceptionHandlerInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ interface ExceptionHandlerInterface
99
/** @param resource $exceptions */
1010
public function save(?int $jobId, $exceptions): void;
1111

12-
/** @return null|resource */
12+
/** @return resource|null */
1313
public function find(int $jobId);
1414

1515
public function delete(int $jobId): void;

src/ExceptionsHandler/FilesystemExceptionHandler.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ public function __construct(private readonly Filesystem $filesystem)
1313
{
1414
}
1515

16-
/** @inheritDoc */
1716
public function save(?int $jobId, $exceptions): void
1817
{
1918
if ($jobId === null || stream_get_contents($exceptions, 1) === false) {
@@ -47,7 +46,6 @@ public function save(?int $jobId, $exceptions): void
4746
fclose($exceptions);
4847
}
4948

50-
/** @inheritDoc */
5149
public function find(int $jobId)
5250
{
5351
try {

src/ExceptionsHandler/NullExceptionHandler.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@
66

77
class NullExceptionHandler implements ExceptionHandlerInterface
88
{
9-
/** @inheritDoc */
109
public function save(?int $jobId, $exceptions): void
1110
{
1211
// Nothing to do
1312
}
1413

15-
/** @inheritDoc */
1614
public function find(int $jobId)
1715
{
1816
return null;

src/Processor/JobProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function __construct(
3131
private DataflowTypeRegistryInterface $registry,
3232
private EventDispatcherInterface $dispatcher,
3333
private JobGateway $jobGateway,
34-
private ExceptionHandlerInterface $exceptionHandler
34+
private ExceptionHandlerInterface $exceptionHandler,
3535
) {
3636
}
3737

0 commit comments

Comments
 (0)