It seems like new \Coduo\PHPMatcher\Factory\SimpleFactory() of type object<Coduo\PHPMatcher\Factory\SimpleFactory> is incompatible with the declared type object<Behapi\Context\Factory> of property $factory.
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
/** @Then the response content should match :pattern */
26
public function response_content_should_match(string $pattern)
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..