It seems like new \NamespaceDep\ClassDep() of type object<NamespaceDep\ClassDep> is incompatible with the declared type object<TestNamespace\NamespaceDep\ClassDep> of property $dependency.
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..
It seems like $dependency of type object<NamespaceDep\ClassDep> is incompatible with the declared type object<TestNamespace\NamespaceDep\ClassDep> of property $dependency.
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..
Loading history...
38
}
39
}
40
41
/**
42
* @return int
43
*/
44
final public function getProva()
45
{
46
return $this->prova;
47
}
48
49
/**
50
* @var prova int
51
*/
52
final public function setProva(int $prova)
53
{
54
$this->prova = $prova;
55
}
56
57
/**
58
* @return NamespaceDep\ClassDep
59
*/
60
final public function getDependency()
61
{
62
return $this->dependency;
63
}
64
65
/**
66
* @var dependency NamespaceDep\ClassDep
67
*/
68
final public function setDependency(ClassDep $dependency)
It seems like $dependency of type object<NamespaceDep\ClassDep> is incompatible with the declared type object<TestNamespace\NamespaceDep\ClassDep> of property $dependency.
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..
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..