The expression app()->handleRequest($serverRequest); of type FastD\Http\Response|Symf...HttpFoundation\Response adds the type Symfony\Component\HttpFoundation\Response to the return on line 59 which is incompatible with the return type declared by the abstract method FastD\Swoole\Server\HTTP::doRequest of type FastD\Http\Response.