original_string: public function buildPath($pathInfo)
      {
          if (null === $this->getPath()) {
              return $pathInfo;
          }
  
          return sprintf($this->getPath(), rtrim($pathInfo, '/'));
      }
code: public function buildPath($pathInfo)
      {
          if (null === $this->getPath()) {
              return $pathInfo;
          }
  
          return sprintf($this->getPath(), rtrim($pathInfo, '/'));
      }
code_tokens: public function buildPath ( $ pathInfo ) { if ( null === $ this -> getPath ( ) ) { return $ pathInfo ; } return sprintf ( $ this -> getPath ( ) , rtrim ( $ pathInfo , '/' ) ) ; }
docstring: Build a path
  
  @param string $pathInfo
  
  @return string
docstring_tokens: Build a path