mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-18 13:26:37 +00:00
removed unneeded condition
This commit is contained in:
@@ -52,10 +52,6 @@ final class HtmlExtension extends AbstractExtension
|
||||
|
||||
if (null === $mime) {
|
||||
if (null === $this->mimeTypes) {
|
||||
if (!class_exists(MimeTypes::class)) {
|
||||
throw new \LogicException('The "data_uri" function requires the symfony/mime package to be installed.');
|
||||
}
|
||||
|
||||
$this->mimeTypes = new MimeTypes();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user