It seems like $def of type object<Railt\SDL\Fronten...on\DefinitionInterface> is incompatible with the declared type object<Railt\SDL\IR\Type\TypeNameInterface> of property $name.
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...
35
36
parent::__construct($ctx, $then);
37
}
38
39
/**
40
* @return DefinitionInterface
41
*/
42
public function getDefinition(): DefinitionInterface
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..