It seems like \GuzzleHttp\Psr7\ServerRequest::fromGlobals() of type object<Psr\Http\Message\ServerRequestInterface> is incompatible with the declared type object<GuzzleHttp\Psr7\Request> of property $request.
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...
44
}
45
46
2
return $this->request;
47
}
48
49
2
protected function getCurrentPath(): string
50
{
51
2
$path = $this->getRequest()->getUri()->getPath();
52
53
2
return $path === '' ? '/' : $path;
54
}
55
56
abstract protected function handleStaticRoute(): ?Response;
57
58
protected function handleDynamicRoute(): ?Response
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..