| 1 | <?php |
||
| 11 | class SNCD extends ExtendClass implements IClass |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * session unique identifier |
||
| 15 | * |
||
| 16 | * @var int |
||
| 17 | */ |
||
| 18 | private $prova; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * comment ClassDep |
||
| 22 | * |
||
| 23 | * @var TestNamespace\ClassDep |
||
| 24 | */ |
||
| 25 | private $dependency; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * costruttore |
||
| 29 | */ |
||
| 30 | final public function __construct() |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @return int |
||
| 40 | */ |
||
| 41 | final public function getProva() |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @var prova int |
||
| 48 | */ |
||
| 49 | final public function setProva(int $prova) |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @return TestNamespace\ClassDep |
||
| 56 | */ |
||
| 57 | final public function getDependency() |
||
| 61 | |||
| 62 | /** |
||
| 63 | * @var dependency TestNamespace\ClassDep |
||
| 64 | */ |
||
| 65 | final public function setDependency(ClassDep $dependency) |
||
| 69 | } |
||
| 70 |
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..