From 82af241147942eb76ea0964aaebd84d9807e63fa Mon Sep 17 00:00:00 2001
From: Project-Update-bot <updatebot@assosiation.drupal.org>
Date: Sun, 12 Jan 2025 09:16:17 +0000
Subject: [PATCH] Automated Project Update Bot fixes from run 11-392907.
---
src/Plugin/ImageAPIOptimizeProcessor/GD.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Plugin/ImageAPIOptimizeProcessor/GD.php b/src/Plugin/ImageAPIOptimizeProcessor/GD.php
index db12be1..d73bdea 100644
--- a/src/Plugin/ImageAPIOptimizeProcessor/GD.php
+++ b/src/Plugin/ImageAPIOptimizeProcessor/GD.php
@@ -35,7 +35,7 @@ class GD extends ConfigurableImageAPIOptimizeProcessorBase {
// Convert stream wrapper URI to normal path.
$destination = \Drupal::service('file_system')->realpath($image_uri);
$success = $function($image->getToolkit()
- ->getResource(), $destination, $this->configuration['quality']);
+ ->getImage(), $destination, $this->configuration['quality']);
}
}
}
--
GitLab