Skip to content

Commit 4067519

Browse files
committed
Fix arginfo
1 parent c90a273 commit 4067519

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/gd/gd.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ function imageconvolution($im, array $matrix3x3, float $div, float $offset): boo
243243

244244
function imageflip($im, int $mode): bool {}
245245

246-
function imageantialias($im, int $on): bool {}
246+
function imageantialias($im, bool $on): bool {}
247247

248248
/** @return resource|false */
249249
function imagecrop($im, array $rect) {}

ext/gd/gd_arginfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ ZEND_END_ARG_INFO()
527527

528528
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imageantialias, 0, 2, _IS_BOOL, 0)
529529
ZEND_ARG_INFO(0, im)
530-
ZEND_ARG_TYPE_INFO(0, on, IS_LONG, 0)
530+
ZEND_ARG_TYPE_INFO(0, on, _IS_BOOL, 0)
531531
ZEND_END_ARG_INFO()
532532

533533
ZEND_BEGIN_ARG_INFO_EX(arginfo_imagecrop, 0, 0, 2)

0 commit comments

Comments
 (0)