`createMinMax` renamed to `forMinMax`
authorCyperghost <olaf_schmitz_1@t-online.de>
Wed, 4 Dec 2024 12:41:16 +0000 (13:41 +0100)
committerCyperghost <olaf_schmitz_1@t-online.de>
Wed, 4 Dec 2024 12:41:16 +0000 (13:41 +0100)
wcfsetup/install/files/lib/system/file/processor/UserCoverPhotoFileProcessor.class.php

index 299fc63754b16ff2b87fcf29778fdf8d5ed5c823..1be6643af1c505010738d048d023a289c55cf9fb 100644 (file)
@@ -208,7 +208,7 @@ final class UserCoverPhotoFileProcessor extends AbstractFileProcessor
     #[\Override]
     public function getImageCropperConfiguration(): ?ImageCropperConfiguration
     {
-        return ImageCropperConfiguration::createMinMax(
+        return ImageCropperConfiguration::forMinMax(
             new ImageCropSize(UserCoverPhoto::MIN_WIDTH, UserCoverPhoto::MIN_HEIGHT),
             new ImageCropSize(UserCoverPhoto::MAX_WIDTH, UserCoverPhoto::MAX_HEIGHT)
         );