original_string: protected function buildFullUri(BrowserKitRequest $request)
      {
          $uri = new Uri($request->getUri());
          
          $queryParams = [];
          parse_str($uri->getQuery(), $queryParams);
          
          if ($request->getMethod() === 'GET') {
              $queryParams = array_merge($queryParams, $request->getParameters());
              $uri = $uri->withQuery(http_build_query($queryParams));
          }
          
          return [$uri, $queryParams];
      }
code: protected function buildFullUri(BrowserKitRequest $request)
      {
          $uri = new Uri($request->getUri());
          
          $queryParams = [];
          parse_str($uri->getQuery(), $queryParams);
          
          if ($request->getMethod() === 'GET') {
              $queryParams = array_merge($queryParams, $request->getParameters());
              $uri = $uri->withQuery(http_build_query($queryParams));
          }
          
          return [$uri, $queryParams];
      }
code_tokens: protected function buildFullUri ( BrowserKitRequest $ request ) { $ uri = new Uri ( $ request -> getUri ( ) ) ; $ queryParams = [ ] ; parse_str ( $ uri -> getQuery ( ) , $ queryParams ) ; if ( $ request -> getMethod ( ) === 'GET' ) { $ queryParams = array_merge ( $ queryParams , $ request -> getParameters ( ) ) ; $ uri = $ uri -> withQuery ( http_build_query ( $ queryParams ) ) ; } return [ $ uri , $ queryParams ] ; }
docstring: Build a full URI from a request
  
  @param BrowserKitRequest $request
  @return array [Uri, queryParams]
docstring_tokens: Build a full URI from a request