It seems like $checkMethod of type Roave\ApiCompare\Compara...MethodBased\MethodBased is incompatible with the declared type Roave\ApiCompare\Compara...ertyBased\PropertyBased of property $checkMethod.
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...
23
}
24
25
public function compare(ReflectionClass $fromClass, ReflectionClass $toClass) : Changes
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..