From e7228bed892cb2959b2f3553d6ce8987e4f53c68 Mon Sep 17 00:00:00 2001 From: Ralph Slooten Date: Wed, 14 Jun 2023 13:39:18 +1200 Subject: [PATCH] PHP 8.2 compatibility --- src/ScaledUploads.php | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/src/ScaledUploads.php b/src/ScaledUploads.php index 6ac5e48..918751d 100644 --- a/src/ScaledUploads.php +++ b/src/ScaledUploads.php @@ -68,6 +68,34 @@ class ScaledUploads extends Extension */ private static $custom_folders = []; + /** + * Internal dynamic property generated from config vars + * + * @var int + */ + private $config_max_width; + + /** + * Internal dynamic property generated from config vars + * + * @var int + */ + private $config_max_height; + + /** + * Internal dynamic property generated from config vars + * + * @var bool + */ + private $config_auto_rotate; + + /** + * Internal dynamic property generated from config vars + * + * @var bool + */ + private $config_force_resampling; + /** * Post data manipulation *