From 662416c1ba43fd45452ccf5ff2ed32160d20b393 Mon Sep 17 00:00:00 2001 From: Cyperghost Date: Wed, 4 Dec 2024 13:42:08 +0100 Subject: [PATCH] `createExact` renamed to `forExact` --- .../lib/system/file/processor/UserAvatarFileProcessor.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/file/processor/UserAvatarFileProcessor.class.php b/wcfsetup/install/files/lib/system/file/processor/UserAvatarFileProcessor.class.php index 1a2b911e60..1a1a9c88ca 100644 --- a/wcfsetup/install/files/lib/system/file/processor/UserAvatarFileProcessor.class.php +++ b/wcfsetup/install/files/lib/system/file/processor/UserAvatarFileProcessor.class.php @@ -210,7 +210,7 @@ final class UserAvatarFileProcessor extends AbstractFileProcessor #[\Override] public function getImageCropperConfiguration(): ?ImageCropperConfiguration { - return ImageCropperConfiguration::createExact( + return ImageCropperConfiguration::forExact( new ImageCropSize(UserAvatarFileProcessor::AVATAR_SIZE, UserAvatarFileProcessor::AVATAR_SIZE), new ImageCropSize(UserAvatarFileProcessor::AVATAR_SIZE_2X, UserAvatarFileProcessor::AVATAR_SIZE_2X) ); -- 2.20.1