It seems like $ruleset of type object<Lechimp\Dicto\Rules\Ruleset> is incompatible with the declared type object<Lechimp\Dicto\Analysis\Ruleset> of property $ruleset.
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...
37
1
}
38
39
/**
40
* @param Query $query
41
* @param ReportGenerator $report_generator
42
* @return Analyzer
43
*/
44
public function build(Query $query, ReportGenerator $report_generator) {
45
return new Analyzer($this->log, $this->ruleset, $query, $report_generator);
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..