Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class GenerateThemeCacheDefinition implements TaskDefinitionInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var int |
||
14 | */ |
||
15 | private $shopId; |
||
16 | |||
17 | /** |
||
18 | * @param array $shopId |
||
19 | */ |
||
20 | public function __construct(array $shopId = []) |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * @return ParameterCollectionInterface |
||
27 | */ |
||
28 | public function define(): ParameterCollectionInterface |
||
31 | } |
||
32 | } |
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..