diff --git a/imagick/imagick.php b/imagick/imagick.php index af8db68c1..36f7b7bfe 100644 --- a/imagick/imagick.php +++ b/imagick/imagick.php @@ -2098,6 +2098,7 @@ public function removeImage() {} * @link https://php.net/manual/en/imagick.destroy.php * @return bool TRUE on success. */ + #[Deprecated(replacement: "%class%->clear()")] public function destroy() {} /**