Skip to content

Commit b938cbc

Browse files
committed
Remove redundant $new_ prefix
1 parent 61ad3b1 commit b938cbc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ext/gd/gd.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ function imagecrop(GdImage $image, array $rectangle): GdImage|false {}
240240

241241
function imagecropauto(GdImage $image, int $mode = IMG_CROP_DEFAULT, float $threshold = 0.5, int $color = -1): GdImage|false {}
242242

243-
function imagescale(GdImage $image, int $new_width, int $new_height = -1, int $mode = IMG_BILINEAR_FIXED): GdImage|false {}
243+
function imagescale(GdImage $image, int $width, int $height = -1, int $mode = IMG_BILINEAR_FIXED): GdImage|false {}
244244

245245
function imageaffine(GdImage $image, array $affine, ?array $clip = null): GdImage|false {}
246246

ext/gd/gd_arginfo.h

Lines changed: 3 additions & 3 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: d1d685a94d05e8d6208217f78de3970fe52dc6fa */
2+
* Stub hash: 59256d0de105f1a2f5d5fc1e20f8090031b42a76 */
33

44
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_gd_info, 0, 0, IS_ARRAY, 0)
55
ZEND_END_ARG_INFO()
@@ -516,8 +516,8 @@ ZEND_END_ARG_INFO()
516516

517517
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_imagescale, 0, 2, GdImage, MAY_BE_FALSE)
518518
ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
519-
ZEND_ARG_TYPE_INFO(0, new_width, IS_LONG, 0)
520-
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, new_height, IS_LONG, 0, "-1")
519+
ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0)
520+
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, height, IS_LONG, 0, "-1")
521521
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "IMG_BILINEAR_FIXED")
522522
ZEND_END_ARG_INFO()
523523

0 commit comments

Comments
 (0)