It seems like $relation of type object<Lechimp\Dicto\Rules\Relation> is incompatible with the declared type object<Lechimp\Dicto\Definition\Fluid\R\Relation> of property $relation.
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...
24
150
}
25
26
150
public function __call($name, $arguments) {
27
150
if (count($arguments) != 0) {
28
throw new \InvalidArgumentException(
29
"No arguments are allowed for a reference to a variable.");
30
}
31
150
$this->rt->throw_on_missing_var($name);
32
33
150
$left = $this->rt->get_var($this->name);
34
150
$right = $this->rt->get_var($name);
35
150
$this->rt->add_rule(
36
150
new Rules\Rule($this->mode, $left, $this->relation, array($right)));
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..