Skip to content

Commit 25e2471

Browse files
committed
Fix imagesetclip() parameter names
Closes GH-7035
1 parent 24d9527 commit 25e2471

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ext/gd/gd.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ function imagesx(GdImage $image): int {}
211211

212212
function imagesy(GdImage $image): int {}
213213

214-
function imagesetclip(GdImage $image, int $x1, int $x2, int $y1, int $y2): bool {}
214+
function imagesetclip(GdImage $image, int $x1, int $y1, int $x2, int $y2): bool {}
215215

216216
function imagegetclip(GdImage $image): array {}
217217

ext/gd/gd_arginfo.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: 012a149dba5332fcb73544771b881fc7e6d53925 */
2+
* Stub hash: ef2df95a30077f088ccfa9b02341385f77caaa64 */
33

44
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_gd_info, 0, 0, IS_ARRAY, 0)
55
ZEND_END_ARG_INFO()
@@ -441,8 +441,8 @@ ZEND_END_ARG_INFO()
441441
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagesetclip, 0, 5, _IS_BOOL, 0)
442442
ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
443443
ZEND_ARG_TYPE_INFO(0, x1, IS_LONG, 0)
444-
ZEND_ARG_TYPE_INFO(0, x2, IS_LONG, 0)
445444
ZEND_ARG_TYPE_INFO(0, y1, IS_LONG, 0)
445+
ZEND_ARG_TYPE_INFO(0, x2, IS_LONG, 0)
446446
ZEND_ARG_TYPE_INFO(0, y2, IS_LONG, 0)
447447
ZEND_END_ARG_INFO()
448448

0 commit comments

Comments
 (0)