summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/gd/gd.stub.php2
-rw-r--r--ext/gd/gd_arginfo.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/gd/gd.stub.php b/ext/gd/gd.stub.php
index 688f8ee622..021b79ead2 100644
--- a/ext/gd/gd.stub.php
+++ b/ext/gd/gd.stub.php
@@ -243,7 +243,7 @@ function imageconvolution($im, array $matrix3x3, float $div, float $offset): boo
function imageflip($im, int $mode): bool {}
-function imageantialias($im, int $on): bool {}
+function imageantialias($im, bool $on): bool {}
/** @return resource|false */
function imagecrop($im, array $rect) {}
diff --git a/ext/gd/gd_arginfo.h b/ext/gd/gd_arginfo.h
index 43de99259d..bc26ea834a 100644
--- a/ext/gd/gd_arginfo.h
+++ b/ext/gd/gd_arginfo.h
@@ -527,7 +527,7 @@ ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imageantialias, 0, 2, _IS_BOOL, 0)
ZEND_ARG_INFO(0, im)
- ZEND_ARG_TYPE_INFO(0, on, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, on, _IS_BOOL, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_imagecrop, 0, 0, 2)