The type App\Middleware\Psr\Http\...\ServerRequestInterface was not found. Did you mean Psr\Http\Message\ServerRequestInterface? If so, make sure to prefix the type with \.
Loading history...
18
*/
19
1
public function process(ServerRequestInterface $request, DelegateInterface $delegate)
The expression return $delegate->proces...est->getBody(), true))) returns the type Psr\Http\Message\ResponseInterface which is incompatible with the documented return type App\Middleware\Psr\Http\...\ServerRequestInterface.