From f4b2f3eeb2ff72027712fc3f92ae38f4ed912fe2 Mon Sep 17 00:00:00 2001 From: Oliver Vogel Date: Sat, 30 Oct 2021 17:51:16 +0200 Subject: [PATCH] Bugfix --- src/Drivers/Imagick/Modifiers/BlurModifier.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Drivers/Imagick/Modifiers/BlurModifier.php b/src/Drivers/Imagick/Modifiers/BlurModifier.php index f22b5f01..eb4fefa1 100644 --- a/src/Drivers/Imagick/Modifiers/BlurModifier.php +++ b/src/Drivers/Imagick/Modifiers/BlurModifier.php @@ -19,10 +19,10 @@ class BlurModifier implements ModifierInterface public function apply(ImageInterface $image): ImageInterface { - foreach ($this->image as $frame) { + foreach ($image as $frame) { $frame->getCore()->blurImage(1 * $this->amount, 0.5 * $this->amount); } - return $this->image; + return $image; } }