original_string: public function get_mime($file){
          $type = $this->get_content_type($file);
          if( $type ){
              $type = array_map('trim', explode(';', $type));
              return $type[0];
          }else{
              return '';
          }
      }
code: public function get_mime($file){
          $type = $this->get_content_type($file);
          if( $type ){
              $type = array_map('trim', explode(';', $type));
              return $type[0];
          }else{
              return '';
          }
      }
code_tokens: public function get_mime ( $ file ) { $ type = $ this -> get_content_type ( $ file ) ; if ( $ type ) { $ type = array_map ( 'trim' , explode ( ';' , $ type ) ) ; return $ type [ 0 ] ; } else { return '' ; } }
docstring: Return mime type
  
  @param string $file
  @return string
docstring_tokens: Return mime type