Skip to content

Commit

Permalink
Mark Imagick::destroy as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
isfedorov committed Aug 26, 2024
1 parent 640e800 commit dedd7ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions imagick/imagick.php
Original file line number Diff line number Diff line change
Expand Up @@ -2098,6 +2098,7 @@ public function removeImage() {}
* @link https://php.net/manual/en/imagick.destroy.php
* @return bool <b>TRUE</b> on success.
*/
#[Deprecated(replacement: "%class%->clear()")]
public function destroy() {}

/**
Expand Down

0 comments on commit dedd7ae

Please sign in to comment.