src/Rebing/GraphQL/GraphQLUploadMiddleware.php
public function processRequest(Request $request)
    {
        $contentType = $request->header('content-type') ?: '';

        if (mb_stripos($contentType, 'multipart/form-data') !== false) {
            $this->validateParsedBody($request);
            $request = $this->parseUploadedFiles($request);
        }

        return $request;
    }
public function processRequest(Request $request)
    {
        $contentType = $request->header('content-type') ?: '';

        if (mb_stripos($contentType, 'multipart/form-data') !== false) {
            $this->validateParsedBody($request);
            $request = $this->parseUploadedFiles($request);
        }

        return $request;
    }
public function processRequest ( Request $ request ) { $ contentType = $ request -> header ( 'content-type' ) ? : '' ; if ( mb_stripos ( $ contentType , 'multipart/form-data' ) !== false ) { $ this -> validateParsedBody ( $ request ) ; $ request = $ this -> parseUploadedFiles ( $ request ) ; } return $ request ; }
Process the request and return either a modified request or the original one

@param \Illuminate\Http\Request $request

@return \Illuminate\Http\Request
Process the request and return either a modified request or the original one