From b6b26c2f400fff44b83ceb75da9b49866499ccec Mon Sep 17 00:00:00 2001 From: Oliver Vogel Date: Thu, 26 Oct 2023 16:27:50 +0200 Subject: [PATCH] Rename method - ImageInterface::removeAnimation to ImageInterface::withoutAnimation --- src/Drivers/Abstract/AbstractImage.php | 2 +- src/Interfaces/ImageInterface.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Drivers/Abstract/AbstractImage.php b/src/Drivers/Abstract/AbstractImage.php index c1bfb75a..160341a3 100644 --- a/src/Drivers/Abstract/AbstractImage.php +++ b/src/Drivers/Abstract/AbstractImage.php @@ -362,7 +362,7 @@ abstract class AbstractImage implements ImageInterface ); } - public function removeAnimation(int $position = 0): ImageInterface + public function withoutAnimation(int $position = 0): ImageInterface { return $this->modify( $this->resolveDriverClass('Modifiers\RemoveAnimationModifier', $position) diff --git a/src/Interfaces/ImageInterface.php b/src/Interfaces/ImageInterface.php index cbd6b464..a4a73b22 100644 --- a/src/Interfaces/ImageInterface.php +++ b/src/Interfaces/ImageInterface.php @@ -82,7 +82,7 @@ interface ImageInterface extends Traversable, Countable * @param int $position * @return ImageInterface */ - public function removeAnimation(int $position = 0): ImageInterface; + public function withoutAnimation(int $position = 0): ImageInterface; /** * Apply given modifier to current image