fix(image): Remove NOP imagedestroy call

This is NOP since 8.0 and deprecated since 8.5

Signed-off-by: Carl Schwan <carlschwan@kde.org>
This commit is contained in:
Carl Schwan
2026-01-07 15:13:07 +01:00
parent 6b6deefee9
commit 513b37916f
-3
View File
@@ -1137,9 +1137,6 @@ class Image implements IImage {
* Destroys the current image and resets the object
*/
public function destroy(): void {
if ($this->valid()) {
imagedestroy($this->resource);
}
$this->resource = false;
}