@@ -496,19 +496,19 @@ function imagetruecolortopalette(GdImage $image, bool $dither, int $num_colors):
496496
497497function imagepalettetotruecolor (GdImage $ image ): bool {}
498498
499- function imagecolormatch (GdImage $ image1 , GdImage $ image2 ): bool {}
499+ function imagecolormatch (GdImage $ image1 , GdImage $ image2 ): true {}
500500
501- function imagesetthickness (GdImage $ image , int $ thickness ): bool {}
501+ function imagesetthickness (GdImage $ image , int $ thickness ): true {}
502502
503- function imagefilledellipse (GdImage $ image , int $ center_x , int $ center_y , int $ width , int $ height , int $ color ): bool {}
503+ function imagefilledellipse (GdImage $ image , int $ center_x , int $ center_y , int $ width , int $ height , int $ color ): true {}
504504
505- function imagefilledarc (GdImage $ image , int $ center_x , int $ center_y , int $ width , int $ height , int $ start_angle , int $ end_angle , int $ color , int $ style ): bool {}
505+ function imagefilledarc (GdImage $ image , int $ center_x , int $ center_y , int $ width , int $ height , int $ start_angle , int $ end_angle , int $ color , int $ style ): true {}
506506
507- function imagealphablending (GdImage $ image , bool $ enable ): bool {}
507+ function imagealphablending (GdImage $ image , bool $ enable ): true {}
508508
509- function imagesavealpha (GdImage $ image , bool $ enable ): bool {}
509+ function imagesavealpha (GdImage $ image , bool $ enable ): true {}
510510
511- function imagelayereffect (GdImage $ image , int $ effect ): bool {}
511+ function imagelayereffect (GdImage $ image , int $ effect ): true {}
512512
513513function imagecolorallocatealpha (GdImage $ image , int $ red , int $ green , int $ blue , int $ alpha ): int |false {}
514514
@@ -518,7 +518,7 @@ function imagecolorclosestalpha(GdImage $image, int $red, int $green, int $blue,
518518
519519function imagecolorexactalpha (GdImage $ image , int $ red , int $ green , int $ blue , int $ alpha ): int {}
520520
521- function imagecopyresampled (GdImage $ dst_image , GdImage $ src_image , int $ dst_x , int $ dst_y , int $ src_x , int $ src_y , int $ dst_width , int $ dst_height , int $ src_width , int $ src_height ): bool {}
521+ function imagecopyresampled (GdImage $ dst_image , GdImage $ src_image , int $ dst_x , int $ dst_y , int $ src_x , int $ src_y , int $ dst_width , int $ dst_height , int $ src_width , int $ src_height ): true {}
522522
523523#ifdef PHP_WIN32
524524
@@ -533,9 +533,9 @@ function imagegrabscreen(): GdImage|false {}
533533/** @refcount 1 */
534534function imagerotate (GdImage $ image , float $ angle , int $ background_color ): GdImage |false {}
535535
536- function imagesettile (GdImage $ image , GdImage $ tile ): bool {}
536+ function imagesettile (GdImage $ image , GdImage $ tile ): true {}
537537
538- function imagesetbrush (GdImage $ image , GdImage $ brush ): bool {}
538+ function imagesetbrush (GdImage $ image , GdImage $ brush ): true {}
539539
540540/** @refcount 1 */
541541function imagecreate (int $ width , int $ height ): GdImage |false {}
@@ -635,7 +635,7 @@ function imagegd2(GdImage $image, ?string $file = null, int $chunk_size = 128, i
635635function imagebmp (GdImage $ image , $ file = null , bool $ compressed = true ): bool {}
636636#endif
637637
638- function imagedestroy (GdImage $ image ): bool {}
638+ function imagedestroy (GdImage $ image ): true {}
639639
640640function imagecolorallocate (GdImage $ image , int $ red , int $ green , int $ blue ): int |false {}
641641
@@ -647,7 +647,7 @@ function imagecolorclosest(GdImage $image, int $red, int $green, int $blue): int
647647
648648function imagecolorclosesthwb (GdImage $ image , int $ red , int $ green , int $ blue ): int {}
649649
650- function imagecolordeallocate (GdImage $ image , int $ color ): bool {}
650+ function imagecolordeallocate (GdImage $ image , int $ color ): true {}
651651
652652function imagecolorresolve (GdImage $ image , int $ red , int $ green , int $ blue ): int {}
653653
@@ -661,25 +661,25 @@ function imagecolorset(GdImage $image, int $color, int $red, int $green, int $bl
661661 */
662662function imagecolorsforindex (GdImage $ image , int $ color ): array {}
663663
664- function imagegammacorrect (GdImage $ image , float $ input_gamma , float $ output_gamma ): bool {}
664+ function imagegammacorrect (GdImage $ image , float $ input_gamma , float $ output_gamma ): true {}
665665
666- function imagesetpixel (GdImage $ image , int $ x , int $ y , int $ color ): bool {}
666+ function imagesetpixel (GdImage $ image , int $ x , int $ y , int $ color ): true {}
667667
668- function imageline (GdImage $ image , int $ x1 , int $ y1 , int $ x2 , int $ y2 , int $ color ): bool {}
668+ function imageline (GdImage $ image , int $ x1 , int $ y1 , int $ x2 , int $ y2 , int $ color ): true {}
669669
670- function imagedashedline (GdImage $ image , int $ x1 , int $ y1 , int $ x2 , int $ y2 , int $ color ): bool {}
670+ function imagedashedline (GdImage $ image , int $ x1 , int $ y1 , int $ x2 , int $ y2 , int $ color ): true {}
671671
672- function imagerectangle (GdImage $ image , int $ x1 , int $ y1 , int $ x2 , int $ y2 , int $ color ): bool {}
672+ function imagerectangle (GdImage $ image , int $ x1 , int $ y1 , int $ x2 , int $ y2 , int $ color ): true {}
673673
674- function imagefilledrectangle (GdImage $ image , int $ x1 , int $ y1 , int $ x2 , int $ y2 , int $ color ): bool {}
674+ function imagefilledrectangle (GdImage $ image , int $ x1 , int $ y1 , int $ x2 , int $ y2 , int $ color ): true {}
675675
676- function imagearc (GdImage $ image , int $ center_x , int $ center_y , int $ width , int $ height , int $ start_angle , int $ end_angle , int $ color ): bool {}
676+ function imagearc (GdImage $ image , int $ center_x , int $ center_y , int $ width , int $ height , int $ start_angle , int $ end_angle , int $ color ): true {}
677677
678- function imageellipse (GdImage $ image , int $ center_x , int $ center_y , int $ width , int $ height , int $ color ): bool {}
678+ function imageellipse (GdImage $ image , int $ center_x , int $ center_y , int $ width , int $ height , int $ color ): true {}
679679
680- function imagefilltoborder (GdImage $ image , int $ x , int $ y , int $ border_color , int $ color ): bool {}
680+ function imagefilltoborder (GdImage $ image , int $ x , int $ y , int $ border_color , int $ color ): true {}
681681
682- function imagefill (GdImage $ image , int $ x , int $ y , int $ color ): bool {}
682+ function imagefill (GdImage $ image , int $ x , int $ y , int $ color ): true {}
683683
684684function imagecolorstotal (GdImage $ image ): int {}
685685
@@ -697,27 +697,27 @@ function imagefontwidth(GdFont|int $font): int {}
697697
698698function imagefontheight (GdFont |int $ font ): int {}
699699
700- function imagechar (GdImage $ image , GdFont |int $ font , int $ x , int $ y , string $ char , int $ color ): bool {}
700+ function imagechar (GdImage $ image , GdFont |int $ font , int $ x , int $ y , string $ char , int $ color ): true {}
701701
702- function imagecharup (GdImage $ image , GdFont |int $ font , int $ x , int $ y , string $ char , int $ color ): bool {}
702+ function imagecharup (GdImage $ image , GdFont |int $ font , int $ x , int $ y , string $ char , int $ color ): true {}
703703
704- function imagestring (GdImage $ image , GdFont |int $ font , int $ x , int $ y , string $ string , int $ color ): bool {}
704+ function imagestring (GdImage $ image , GdFont |int $ font , int $ x , int $ y , string $ string , int $ color ): true {}
705705
706- function imagestringup (GdImage $ image , GdFont |int $ font , int $ x , int $ y , string $ string , int $ color ): bool {}
706+ function imagestringup (GdImage $ image , GdFont |int $ font , int $ x , int $ y , string $ string , int $ color ): true {}
707707
708- function imagecopy (GdImage $ dst_image , GdImage $ src_image , int $ dst_x , int $ dst_y , int $ src_x , int $ src_y , int $ src_width , int $ src_height ): bool {}
708+ function imagecopy (GdImage $ dst_image , GdImage $ src_image , int $ dst_x , int $ dst_y , int $ src_x , int $ src_y , int $ src_width , int $ src_height ): true {}
709709
710- function imagecopymerge (GdImage $ dst_image , GdImage $ src_image , int $ dst_x , int $ dst_y , int $ src_x , int $ src_y , int $ src_width , int $ src_height , int $ pct ): bool {}
710+ function imagecopymerge (GdImage $ dst_image , GdImage $ src_image , int $ dst_x , int $ dst_y , int $ src_x , int $ src_y , int $ src_width , int $ src_height , int $ pct ): true {}
711711
712- function imagecopymergegray (GdImage $ dst_image , GdImage $ src_image , int $ dst_x , int $ dst_y , int $ src_x , int $ src_y , int $ src_width , int $ src_height , int $ pct ): bool {}
712+ function imagecopymergegray (GdImage $ dst_image , GdImage $ src_image , int $ dst_x , int $ dst_y , int $ src_x , int $ src_y , int $ src_width , int $ src_height , int $ pct ): true {}
713713
714- function imagecopyresized (GdImage $ dst_image , GdImage $ src_image , int $ dst_x , int $ dst_y , int $ src_x , int $ src_y , int $ dst_width , int $ dst_height , int $ src_width , int $ src_height ): bool {}
714+ function imagecopyresized (GdImage $ dst_image , GdImage $ src_image , int $ dst_x , int $ dst_y , int $ src_x , int $ src_y , int $ dst_width , int $ dst_height , int $ src_width , int $ src_height ): true {}
715715
716716function imagesx (GdImage $ image ): int {}
717717
718718function imagesy (GdImage $ image ): int {}
719719
720- function imagesetclip (GdImage $ image , int $ x1 , int $ y1 , int $ x2 , int $ y2 ): bool {}
720+ function imagesetclip (GdImage $ image , int $ x1 , int $ y1 , int $ x2 , int $ y2 ): true {}
721721
722722/**
723723 * @return array<int, int>
@@ -756,9 +756,9 @@ function imagefilter(GdImage $image, int $filter, ...$args): bool {}
756756
757757function imageconvolution (GdImage $ image , array $ matrix , float $ divisor , float $ offset ): bool {}
758758
759- function imageflip (GdImage $ image , int $ mode ): bool {}
759+ function imageflip (GdImage $ image , int $ mode ): true {}
760760
761- function imageantialias (GdImage $ image , bool $ enable ): bool {}
761+ function imageantialias (GdImage $ image , bool $ enable ): true {}
762762
763763/** @refcount 1 */
764764function imagecrop (GdImage $ image , array $ rectangle ): GdImage |false {}
@@ -793,4 +793,4 @@ function imagesetinterpolation(GdImage $image, int $method = IMG_BILINEAR_FIXED)
793793 * @return array<int, int>|true
794794 * @refcount 1
795795 */
796- function imageresolution (GdImage $ image , ?int $ resolution_x = null , ?int $ resolution_y = null ): array |bool {}
796+ function imageresolution (GdImage $ image , ?int $ resolution_x = null , ?int $ resolution_y = null ): array |true {}
0 commit comments