Total Complexity | 7 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Coverage | 85.71% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | final class ClassReflectorRouteLoader implements RouteLoaderInterface |
||
14 | { |
||
15 | /** |
||
16 | * @var string[] |
||
17 | */ |
||
18 | private array $directories = []; |
||
19 | |||
20 | 4 | public function __construct(private ClassReflectorFactory $reflectorFactory) |
|
21 | { |
||
22 | 4 | } |
|
23 | |||
24 | public function getDirectories(): array |
||
27 | } |
||
28 | |||
29 | 2 | public function addDirectory(string ...$directories): RouteLoaderInterface |
|
35 | } |
||
36 | |||
37 | 2 | public function getRoutes(): Generator |
|
53 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..