You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -48,8 +48,8 @@ public function __construct($mimeTypeGuesser = null)
48
48
} elseif (null === $mimeTypeGuesser) {
49
49
if (class_exists(MimeTypes::class)) {
50
50
$mimeTypeGuesser = MimeTypes::getDefault();
51
-
} else {
52
-
@trigger_error(sprintf('Passing null to "%s()" without symfony/mime installed is deprecated since Symfony 4.3, install symfony/mime.', __METHOD__), E_USER_DEPRECATED);
51
+
} elseif (class_exists(MimeTypeGuesser::class)) {
52
+
@trigger_error(sprintf('Passing null to "%s()" to use a default MIME type guesser without Symfony Mime installed is deprecated since Symfony 4.3. Try running "composer require symfony/mime".', __METHOD__), E_USER_DEPRECATED);
0 commit comments