@@ -61,6 +61,21 @@ class SophronMimeTypeGuesser implements MimeTypeGuesserInterface {
return'application/octet-stream';
}
/**
* {@inheritdoc}
*/
publicfunctionguess($path){
@trigger_error(__METHOD__.'() is deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Use ::guessMimeType() instead. See https://www.drupal.org/node/3133341',E_USER_DEPRECATED);
return$this->guessMimeType($path);
}
/**
* {@inheritdoc}
*/
publicfunctionisGuesserSupported():bool{
returnTRUE;
}
/**
* Sets the mimetypes/extension mapping to use when guessing mimetype.