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