It seems like $response_factory of type object<Psr\Http\Message\ResponseFactoryInterface> is incompatible with the declared type object<Germania\Responder\ResponseFactory> of property $response_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...
25
28
return $this;
26
}
27
28
29
30
/**
31
* Returns the ResponseFactory or null.
32
*
33
* @return ResponseFactoryInterface|null
34
*/
35
20
public function getResponseFactory() : ?ResponseFactoryInterface
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..