1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-11 08:24:02 +02:00

Rename method

- ImageInterface::removeAnimation to ImageInterface::withoutAnimation
This commit is contained in:
Oliver Vogel
2023-10-26 16:27:50 +02:00
parent 2b0001334a
commit b6b26c2f40
2 changed files with 2 additions and 2 deletions

View File

@@ -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)

View File

@@ -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