From fe807f440bd385f66e65deaac6fcca23f176aa47 Mon Sep 17 00:00:00 2001 From: Danack Date: Sun, 30 Jun 2024 21:33:33 +0100 Subject: [PATCH] Make ImagickPixelIterator::resetIterator return the documented return type. --- imagickpixeliterator_class.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/imagickpixeliterator_class.c b/imagickpixeliterator_class.c index 9bc5743b..d7fabd5b 100644 --- a/imagickpixeliterator_class.c +++ b/imagickpixeliterator_class.c @@ -141,6 +141,8 @@ PHP_METHOD(ImagickPixelIterator, resetIterator) #if MagickLibVersion <= 0x628 internpix->iterator_position = 0; #endif + + RETURN_TRUE; } /* }}} */