original_string: private function cleanupAnchor(string $uri): string
      {
          if (false !== $pos = strpos($uri, '#')) {
              return substr($uri, 0, $pos);
          }
  
          return $uri;
      }
code: private function cleanupAnchor(string $uri): string
      {
          if (false !== $pos = strpos($uri, '#')) {
              return substr($uri, 0, $pos);
          }
  
          return $uri;
      }
code_tokens: private function cleanupAnchor ( string $ uri ) : string { if ( false !== $ pos = strpos ( $ uri , '#' ) ) { return substr ( $ uri , 0 , $ pos ) ; } return $ uri ; }
docstring: Remove the anchor from the uri.
docstring_tokens: Remove the anchor from the uri .