| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 31 | protected function processStop(StopItem $item, ExecutionContext $context): ItemInterface |
||
|
|
|||
| 32 | { |
||
| 33 | if ($this->endProcess) { |
||
| 34 | return $item; |
||
| 35 | } |
||
| 36 | |||
| 37 | $this->endProcess = true; |
||
| 38 | $iterator = $this->etlExecutionRepository->getOldExecutions($this->minKeep); |
||
| 39 | |||
| 40 | return new GroupedItem($iterator); |
||
| 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.