original_string: public function matchMimetypeExtension($mimetype, $extension)
      {
          $mime_extensions = self::$mimetypes_extensions;
          if (isset($mime_extensions[$extension]) && $mime_extensions[$extension] == $mimetype) {
              return true;
          }
  
          return false;
      }
code: public function matchMimetypeExtension($mimetype, $extension)
      {
          $mime_extensions = self::$mimetypes_extensions;
          if (isset($mime_extensions[$extension]) && $mime_extensions[$extension] == $mimetype) {
              return true;
          }
  
          return false;
      }
code_tokens: public function matchMimetypeExtension ( $ mimetype , $ extension ) { $ mime_extensions = self :: $ mimetypes_extensions ; if ( isset ( $ mime_extensions [ $ extension ] ) && $ mime_extensions [ $ extension ] == $ mimetype ) { return true ; } return false ; }
docstring: Check if the mimetype match with the extension
  
  @param string $mimetype
  @param string $extension
  @return bool
docstring_tokens: Check if the mimetype match with the extension