Skip to content

Commit bf42cf5

Browse files
committed
Merge branch 'PHP-8.0'
* Fix imagesetclip() parameter names
2 parents 78ecd4a + 25e2471 commit bf42cf5

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
@@ -212,7 +212,7 @@ function imagesx(GdImage $image): int {}
212212

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

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

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

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: a53aa5d7eafd82e0b0adf0b220f0a548e4ac2a84 */
2+
* Stub hash: 6d0c2e29e9626c161b33baa2b987e9f8f8441669 */
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)