From e88fb355ce3628a1722933814a2be102587269e0 Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Thu, 7 Mar 2024 12:21:50 +0100 Subject: [PATCH] Fix commands --- src/Command/CreateIconsCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Command/CreateIconsCommand.php b/src/Command/CreateIconsCommand.php index 9dc789a..33ea270 100644 --- a/src/Command/CreateIconsCommand.php +++ b/src/Command/CreateIconsCommand.php @@ -128,7 +128,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int ]; $destMimeType = $mime->guessMimeType($filePath); if ($destMimeType !== null) { - $config['type'] = $destMimeType; + $config['format'] = $destMimeType; } $generatedIcons[] = $config;