Skip to content

Commit

Permalink
Fix Imagick::optimizeimagetransparency and Imagick::resetIterator proto
Browse files Browse the repository at this point in the history
  • Loading branch information
Danack committed Jul 1, 2024
1 parent 8111201 commit 5ef93af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Imagick.stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ public function setFirstIterator(): bool {}

public function setLastIterator(): bool {}

public function resetIterator(): bool {}
public function resetIterator(): void {}

public function previousImage(): bool {}

Expand Down Expand Up @@ -1375,7 +1375,7 @@ public function colorDecisionListImage(string $color_correction_collection): boo
#endif

#if MagickLibVersion >= 0x687
public function optimizeImageTransparency(): bool {}
public function optimizeImageTransparency(): void {}
#endif

#if MagickLibVersion >= 0x660
Expand Down
4 changes: 2 additions & 2 deletions Imagick_arginfo.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead.
* Stub hash: ab3a04294aa2cbcda50db6db343dede06b8a2570 */
* Stub hash: ce06b50baf20276ed7642165874f7e64fa22cb6e */

ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Imagick_optimizeImageLayers, 0, 0, Imagick, 0)
ZEND_END_ARG_INFO()
Expand Down Expand Up @@ -1724,7 +1724,7 @@ ZEND_END_ARG_INFO()
#endif

#if MagickLibVersion >= 0x687
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_optimizeImageTransparency, 0, 0, _IS_BOOL, 0)
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_optimizeImageTransparency, 0, 0, IS_VOID, 0)
ZEND_END_ARG_INFO()
#endif

Expand Down

0 comments on commit 5ef93af

Please sign in to comment.