/** * Stubbable method to read the content type from a file * * @param string $path * @return string */ protected function getContentTypeFromFile(string $path) { return \sndsgd\Mime::getTypeFromFile($path); }