diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2019-12-18 20:38:40 +0100 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2019-12-20 14:31:07 +0100 |
commit | d59bc8078291883f1dc010a38c234600c17d0385 (patch) | |
tree | 51c3bc32ed71e959dccfb778a297bfb8bf06f259 /ext/gd | |
parent | ca6c54274cb039f4a86f02c421a91c2cfa8f73b4 (diff) | |
download | php-git-d59bc8078291883f1dc010a38c234600c17d0385.tar.gz |
Fix smaller issues with stubs
GH-5025
Diffstat (limited to 'ext/gd')
-rw-r--r-- | ext/gd/gd.stub.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/gd/gd.stub.php b/ext/gd/gd.stub.php index a1c9a2f74a..3dbb694856 100644 --- a/ext/gd/gd.stub.php +++ b/ext/gd/gd.stub.php @@ -205,9 +205,9 @@ function imagegetclip(GdImage $im): array {} #ifdef HAVE_GD_FREETYPE function imageftbbox(float $size, float $angle, string $font_file, string $text, array $extrainfo = UNKNOWN): array|false {} -function imagefttext(GdImage $im, float $size, float $angle, int $x, int $y, int $col, string $font_file, string $text, array $extrainfo = UNKNOWN) {} +function imagefttext(GdImage $im, float $size, float $angle, int $x, int $y, int $col, string $font_file, string $text, array $extrainfo = UNKNOWN): array|false {} -function imagettfbbox(float $size, float $angle, string $font_file, string $text) {} +function imagettfbbox(float $size, float $angle, string $font_file, string $text): array|false {} function imagettftext(GdImage $im, float $size, float $angle, int $x, int $y, int $col, string $font_file, string $text) {} #endif |