1 | <?php |
||
12 | class ImplementsClassWithNamespaceAndFieldWithDependency extends ExtendClass implements IClass |
||
13 | { |
||
14 | /** |
||
15 | * session unique identifier |
||
16 | * |
||
17 | * @var int |
||
18 | */ |
||
19 | private $prova; |
||
20 | |||
21 | /** |
||
22 | * comment classDep |
||
23 | * |
||
24 | * @var NamespaceDep\classDep |
||
25 | */ |
||
26 | private $dependency; |
||
27 | |||
28 | /** |
||
29 | * costruttore |
||
30 | */ |
||
31 | final public function __construct($prova, classDep $dependency) |
||
36 | } |
||
37 |
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..