We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f874222 commit 0cfa5b2Copy full SHA for 0cfa5b2
src/Forms/Helpers.php
@@ -302,6 +302,6 @@ public static function getSingleType($reflection): ?string
302
/** @internal */
303
public static function getSupportedImages(): array
304
{
305
- return array_map(fn($type) => Image::typeToMimeType($type), Image::getSupportedTypes());
+ return array_values(array_map(fn($type) => Image::typeToMimeType($type), Image::getSupportedTypes()));
306
}
307
0 commit comments