original_string: private static function getMimeTypeOfFile($path)
      {
          $fileInfo = finfo_open(FILEINFO_MIME_TYPE);
          $mime     = finfo_file($fileInfo, $path);
          finfo_close($fileInfo);
  
          return $mime;
      }
code: private static function getMimeTypeOfFile($path)
      {
          $fileInfo = finfo_open(FILEINFO_MIME_TYPE);
          $mime     = finfo_file($fileInfo, $path);
          finfo_close($fileInfo);
  
          return $mime;
      }
code_tokens: private static function getMimeTypeOfFile ( $ path ) { $ fileInfo = finfo_open ( FILEINFO_MIME_TYPE ) ; $ mime = finfo_file ( $ fileInfo , $ path ) ; finfo_close ( $ fileInfo ) ; return $ mime ; }
docstring: Get a file's mime type
  
  @param $path
  
  @return mixed
docstring_tokens: Get a file s mime type