Skip to content

Commit 61ad3b1

Browse files
committed
$string -> $text
1 parent a56e819 commit 61ad3b1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ext/gd/gd.stub.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,13 +218,13 @@ function imagegetclip(GdImage $image): array {}
218218
#ifdef HAVE_GD_FREETYPE
219219
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 $options = []): array|false {}
221+
function imagefttext(GdImage $image, float $size, float $angle, int $x, int $y, int $color, string $font_filename, string $text, array $options = []): array|false {}
222222

223223
/** @alias imageftbbox */
224224
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 $options = []): array|false {}
227+
function imagettftext(GdImage $image, float $size, float $angle, int $x, int $y, int $color, string $font_filename, string $text, array $options = []): array|false {}
228228
#endif
229229

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

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

44
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_gd_info, 0, 0, IS_ARRAY, 0)
55
ZEND_END_ARG_INFO()
@@ -469,7 +469,7 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_imagefttext, 0, 8, MAY_BE_ARRAY|
469469
ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0)
470470
ZEND_ARG_TYPE_INFO(0, color, IS_LONG, 0)
471471
ZEND_ARG_TYPE_INFO(0, font_filename, IS_STRING, 0)
472-
ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
472+
ZEND_ARG_TYPE_INFO(0, text, IS_STRING, 0)
473473
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "[]")
474474
ZEND_END_ARG_INFO()
475475
#endif

0 commit comments

Comments
 (0)