| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | final class ResultsGenerator implements ResultsGeneratorInterface |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @var Closure(int): T |
||
| 26 | */ |
||
| 27 | private Closure $generator; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param Closure(int): T $generator |
||
| 31 | */ |
||
| 32 | public function __construct(Closure $generator) |
||
| 33 | { |
||
| 34 | $this->generator = $generator; |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return T |
||
|
|
|||
| 39 | */ |
||
| 40 | public function __invoke(int $page = 0) |
||
| 43 | } |
||
| 44 | } |
||
| 45 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths