`createExact` renamed to `forExact`
authorCyperghost <olaf_schmitz_1@t-online.de>
Wed, 4 Dec 2024 12:42:08 +0000 (13:42 +0100)
committerCyperghost <olaf_schmitz_1@t-online.de>
Wed, 4 Dec 2024 12:42:08 +0000 (13:42 +0100)
wcfsetup/install/files/lib/system/file/processor/UserAvatarFileProcessor.class.php

index 1a2b911e609192124a57953d9ee68d7558953764..1a1a9c88ca7f289031660806bd5fdcaa8a6a3361 100644 (file)
@@ -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)
         );