src/Router/Middleware/ErrorPage.php
protected function reviveRequest(ServerRequestInterface $request)
    {
        $isStale = interface_exists('Jasny\HttpMessage\GlobalEnvironmentInterface') &&
            $request instanceof GlobalEnvironmentInterface &&
            $request->isStale();
        
        return $isStale ? $request->revive() : $request;
    }
protected function reviveRequest(ServerRequestInterface $request)
    {
        $isStale = interface_exists('Jasny\HttpMessage\GlobalEnvironmentInterface') &&
            $request instanceof GlobalEnvironmentInterface &&
            $request->isStale();
        
        return $isStale ? $request->revive() : $request;
    }
protected function reviveRequest ( ServerRequestInterface $ request ) { $ isStale = interface_exists ( 'Jasny\HttpMessage\GlobalEnvironmentInterface' ) && $ request instanceof GlobalEnvironmentInterface && $ request -> isStale ( ) ; return $ isStale ? $ request -> revive ( ) : $ request ; }
Revive a stale request

@param ServerRequestInterface $request
@return ServerRequestInterface
Revive a stale request