From: Cyperghost Date: Wed, 4 Dec 2024 12:42:08 +0000 (+0100) Subject: `createExact` renamed to `forExact` X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=662416c1ba43fd45452ccf5ff2ed32160d20b393;p=GitHub%2FWoltLab%2FWCF.git `createExact` renamed to `forExact` --- 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) );