Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
16 | class ExtensionManager |
||
17 | { |
||
18 | /** |
||
19 | * @var ExtensionInterface[] |
||
20 | */ |
||
21 | protected $extensions; |
||
22 | |||
23 | /** |
||
24 | * @param iterable $extensions |
||
25 | */ |
||
26 | public function __construct(iterable $extensions) |
||
27 | { |
||
28 | $this->extensions = $extensions; |
||
|
|||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @return iterable|ExtensionInterface[] |
||
33 | */ |
||
34 | public function getExtensions(): iterable |
||
37 | } |
||
38 | } |
||
39 |
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..