original_string: protected function cleanPath($path)
      {
          $lastchunk = strrchr($path, DS);
          if (strpos($lastchunk, ':') !== false) {
              $path = str_replace($lastchunk, '', $path);
          }
  
          return $path;
      }
code: protected function cleanPath($path)
      {
          $lastchunk = strrchr($path, DS);
          if (strpos($lastchunk, ':') !== false) {
              $path = str_replace($lastchunk, '', $path);
          }
  
          return $path;
      }
code_tokens: protected function cleanPath ( $ path ) { $ lastchunk = strrchr ( $ path , DS ) ; if ( strpos ( $ lastchunk , ':' ) !== false ) { $ path = str_replace ( $ lastchunk , '' , $ path ) ; } return $ path ; }
docstring: Cleans the path.
  
  @param  string $path the path
  
  @return string       the path
docstring_tokens: Cleans the path .