original_string: private function getTraceKey(Request $request): string
      {
          $path = $request->getPathInfo();
          if ($qs = $request->getQueryString()) {
              $path .= '?'.$qs;
          }
  
          return $request->getMethod().' '.$path;
      }
code: private function getTraceKey(Request $request): string
      {
          $path = $request->getPathInfo();
          if ($qs = $request->getQueryString()) {
              $path .= '?'.$qs;
          }
  
          return $request->getMethod().' '.$path;
      }
code_tokens: private function getTraceKey ( Request $ request ) : string { $ path = $ request -> getPathInfo ( ) ; if ( $ qs = $ request -> getQueryString ( ) ) { $ path .= '?' . $ qs ; } return $ request -> getMethod ( ) . ' ' . $ path ; }
docstring: Calculates the key we use in the "trace" array for a given request.
docstring_tokens: Calculates the key we use in the trace array for a given request .