Skip to content

Commit 9355b94

Browse files
committed
Fixed the parameter order
Thanks @Morik
1 parent 8311489 commit 9355b94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wcfsetup/install/files/lib/util/ImageUtil.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@ public static function createWebpVariant(string $sourceLocation, string $outputF
247247
default:
248248
throw new \InvalidArgumentException(\sprintf(
249249
"Unsupported image format '%s' (mime type %s), expecting one of 'gif', 'jpg', 'png' or 'webp'.",
250+
$extension,
250251
$imageData['mime'],
251-
$extension
252252
));
253253
}
254254

0 commit comments

Comments
 (0)