Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class FindOldExecutionsOperation extends AbstractChainOperation |
||
13 | { |
||
14 | protected EtlExecutionRepository $etlExecutionRepository; |
||
15 | |||
16 | protected \DateTime $minKeep; |
||
17 | |||
18 | protected $endProcess = false; |
||
19 | |||
20 | /** |
||
21 | * FindOldExecutions constructor. |
||
22 | * @param EtlExecutionRepository $etlExecutionRepository |
||
23 | * @param string $minKeep |
||
24 | */ |
||
25 | public function __construct(EtlExecutionRepository $etlExecutionRepository, \DateTime $minKeep) |
||
29 | } |
||
30 | |||
31 | protected function processStop(StopItem $item, ExecutionContext $context): ItemInterface |
||
41 | } |
||
42 | } |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.