| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 42.86% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | final class ClassNameNotFoundEvent implements GacelaEventInterface |
||
| 11 | { |
||
| 12 | private ClassInfo $classInfo; |
||
| 13 | |||
| 14 | /** @var list<string> */ |
||
| 15 | private array $resolvableTypes; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param list<string> $resolvableTypes |
||
| 19 | */ |
||
| 20 | 10 | public function __construct(ClassInfo $classInfo, array $resolvableTypes) |
|
| 24 | } |
||
| 25 | |||
| 26 | public function toString(): string |
||
| 36 |
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..