From d3424b16422e524f3b54a018860f019091feec7f Mon Sep 17 00:00:00 2001 From: "Paul L. McNeely" Date: Thu, 7 May 2020 18:28:43 -0500 Subject: [PATCH] Removed the String to Array Conversion. Removed the minor convenience change because the reviewers are too caught up on that to look at the actual bug fix. --- src/Symfony/Component/Mime/MimeTypes.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Symfony/Component/Mime/MimeTypes.php b/src/Symfony/Component/Mime/MimeTypes.php index 5dd2aba73ed99..5f057a99ec183 100644 --- a/src/Symfony/Component/Mime/MimeTypes.php +++ b/src/Symfony/Component/Mime/MimeTypes.php @@ -48,7 +48,6 @@ final class MimeTypes implements MimeTypesInterface public function __construct(array $map = []) { foreach ($map as $mimeType => $extensions) { - $extensions = \is_string($extensions) ? [$extensions] : $extensions; $this->extensions[$mimeType] = $extensions; foreach ($extensions as $extension) {