Skip to content

Commit a56e819

Browse files
committed
$extra_info -> $options
1 parent 81c08f8 commit a56e819

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

ext/gd/gd.stub.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,15 +216,15 @@ function imagesetclip(GdImage $image, int $x1, int $x2, int $y1, int $y2): bool
216216
function imagegetclip(GdImage $image): array {}
217217

218218
#ifdef HAVE_GD_FREETYPE
219-
function imageftbbox(float $size, float $angle, string $font_filename, string $string, array $extra_info = []): array|false {}
219+
function imageftbbox(float $size, float $angle, string $font_filename, string $string, array $options = []): array|false {}
220220

221-
function imagefttext(GdImage $image, float $size, float $angle, int $x, int $y, int $color, string $font_filename, string $string, array $extra_info = []): array|false {}
221+
function imagefttext(GdImage $image, float $size, float $angle, int $x, int $y, int $color, string $font_filename, string $string, array $options = []): array|false {}
222222

223223
/** @alias imageftbbox */
224-
function imagettfbbox(float $size, float $angle, string $font_filename, string $string, array $extra_info = []): array|false {}
224+
function imagettfbbox(float $size, float $angle, string $font_filename, string $string, array $options = []): array|false {}
225225

226226
/** @alias imagefttext */
227-
function imagettftext(GdImage $image, float $size, float $angle, int $x, int $y, int $color, string $font_filename, string $string, array $extra_info = []): array|false {}
227+
function imagettftext(GdImage $image, float $size, float $angle, int $x, int $y, int $color, string $font_filename, string $string, array $options = []): array|false {}
228228
#endif
229229

230230
/** @param array|int|float|bool $args */

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: 0f35c38c042830843532622557c8eb2e85dbf247 */
2+
* Stub hash: 7aeaa5dc76a37c8abb9006e330f0e2d106a64b5e */
33

44
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_gd_info, 0, 0, IS_ARRAY, 0)
55
ZEND_END_ARG_INFO()
@@ -456,7 +456,7 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_imageftbbox, 0, 4, MAY_BE_ARRAY|
456456
ZEND_ARG_TYPE_INFO(0, angle, IS_DOUBLE, 0)
457457
ZEND_ARG_TYPE_INFO(0, font_filename, IS_STRING, 0)
458458
ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
459-
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, extra_info, IS_ARRAY, 0, "[]")
459+
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "[]")
460460
ZEND_END_ARG_INFO()
461461
#endif
462462

@@ -470,7 +470,7 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_imagefttext, 0, 8, MAY_BE_ARRAY|
470470
ZEND_ARG_TYPE_INFO(0, color, IS_LONG, 0)
471471
ZEND_ARG_TYPE_INFO(0, font_filename, IS_STRING, 0)
472472
ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
473-
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, extra_info, IS_ARRAY, 0, "[]")
473+
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "[]")
474474
ZEND_END_ARG_INFO()
475475
#endif
476476

0 commit comments

Comments
 (0)