From 25e24715d77c5f03b8fbde13b64b29c2a4bf2594 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Sun, 23 May 2021 18:12:48 +0200 Subject: [PATCH] Fix imagesetclip() parameter names Closes GH-7035 --- ext/gd/gd.stub.php | 2 +- ext/gd/gd_arginfo.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/gd/gd.stub.php b/ext/gd/gd.stub.php index 732baa77e76..dbc5d2715a0 100644 --- a/ext/gd/gd.stub.php +++ b/ext/gd/gd.stub.php @@ -211,7 +211,7 @@ function imagesx(GdImage $image): int {} function imagesy(GdImage $image): int {} -function imagesetclip(GdImage $image, int $x1, int $x2, int $y1, int $y2): bool {} +function imagesetclip(GdImage $image, int $x1, int $y1, int $x2, int $y2): bool {} function imagegetclip(GdImage $image): array {} diff --git a/ext/gd/gd_arginfo.h b/ext/gd/gd_arginfo.h index 74e93e024a7..9fd40db75e8 100644 --- a/ext/gd/gd_arginfo.h +++ b/ext/gd/gd_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 012a149dba5332fcb73544771b881fc7e6d53925 */ + * Stub hash: ef2df95a30077f088ccfa9b02341385f77caaa64 */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_gd_info, 0, 0, IS_ARRAY, 0) ZEND_END_ARG_INFO() @@ -441,8 +441,8 @@ ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagesetclip, 0, 5, _IS_BOOL, 0) ZEND_ARG_OBJ_INFO(0, image, GdImage, 0) ZEND_ARG_TYPE_INFO(0, x1, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, x2, IS_LONG, 0) ZEND_ARG_TYPE_INFO(0, y1, IS_LONG, 0) + ZEND_ARG_TYPE_INFO(0, x2, IS_LONG, 0) ZEND_ARG_TYPE_INFO(0, y2, IS_LONG, 0) ZEND_END_ARG_INFO()