original_string: protected function setRequestProperties(
          ServerRequestInterface $baseRequest,
          BrowserKitRequest $request,
          Stream $stream,
          UriInterface $uri,
          array $queryParams
      ) {
          return $baseRequest
              ->withProtocolVersion('1.1')
              ->withBody($stream)
              ->withMethod($request->getMethod())
              ->withRequestTarget((string)($uri->withScheme('')->withHost('')->withPort('')->withUserInfo('')))
              ->withCookieParams($request->getCookies())
              ->withUri($uri)
              ->withQueryParams($queryParams)
              ->withParsedBody($request->getMethod() !== 'GET' && !empty($request->getParameters())
                  ? $request->getParameters() : null)
              ->withUploadedFiles($this->convertUploadedFiles($request->getFiles()));
      }
code: protected function setRequestProperties(
          ServerRequestInterface $baseRequest,
          BrowserKitRequest $request,
          Stream $stream,
          UriInterface $uri,
          array $queryParams
      ) {
          return $baseRequest
              ->withProtocolVersion('1.1')
              ->withBody($stream)
              ->withMethod($request->getMethod())
              ->withRequestTarget((string)($uri->withScheme('')->withHost('')->withPort('')->withUserInfo('')))
              ->withCookieParams($request->getCookies())
              ->withUri($uri)
              ->withQueryParams($queryParams)
              ->withParsedBody($request->getMethod() !== 'GET' && !empty($request->getParameters())
                  ? $request->getParameters() : null)
              ->withUploadedFiles($this->convertUploadedFiles($request->getFiles()));
      }
code_tokens: protected function setRequestProperties ( ServerRequestInterface $ baseRequest , BrowserKitRequest $ request , Stream $ stream , UriInterface $ uri , array $ queryParams ) { return $ baseRequest -> withProtocolVersion ( '1.1' ) -> withBody ( $ stream ) -> withMethod ( $ request -> getMethod ( ) ) -> withRequestTarget ( ( string ) ( $ uri -> withScheme ( '' ) -> withHost ( '' ) -> withPort ( '' ) -> withUserInfo ( '' ) ) ) -> withCookieParams ( $ request -> getCookies ( ) ) -> withUri ( $ uri ) -> withQueryParams ( $ queryParams ) -> withParsedBody ( $ request -> getMethod ( ) !== 'GET' && ! empty ( $ request -> getParameters ( ) ) ? $ request -> getParameters ( ) : null ) -> withUploadedFiles ( $ this -> convertUploadedFiles ( $ request -> getFiles ( ) ) ) ; }
docstring: Set the server request properties
  
  @param ServerRequestInterface $baseRequest
  @param BrowserKitRequest      $request
  @param Stream                 $stream
  @param UriInterface           $uri
  @param array                  $queryParams
  @return ServerRequestInterface
docstring_tokens: Set the server request properties