@@ -496,19 +496,19 @@ function imagetruecolortopalette(GdImage $image, bool $dither, int $num_colors):
496
496
497
497
function imagepalettetotruecolor (GdImage $ image ): bool {}
498
498
499
- function imagecolormatch (GdImage $ image1 , GdImage $ image2 ): bool {}
499
+ function imagecolormatch (GdImage $ image1 , GdImage $ image2 ): true {}
500
500
501
- function imagesetthickness (GdImage $ image , int $ thickness ): bool {}
501
+ function imagesetthickness (GdImage $ image , int $ thickness ): true {}
502
502
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 {}
504
504
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 {}
506
506
507
- function imagealphablending (GdImage $ image , bool $ enable ): bool {}
507
+ function imagealphablending (GdImage $ image , bool $ enable ): true {}
508
508
509
- function imagesavealpha (GdImage $ image , bool $ enable ): bool {}
509
+ function imagesavealpha (GdImage $ image , bool $ enable ): true {}
510
510
511
- function imagelayereffect (GdImage $ image , int $ effect ): bool {}
511
+ function imagelayereffect (GdImage $ image , int $ effect ): true {}
512
512
513
513
function imagecolorallocatealpha (GdImage $ image , int $ red , int $ green , int $ blue , int $ alpha ): int |false {}
514
514
@@ -518,7 +518,7 @@ function imagecolorclosestalpha(GdImage $image, int $red, int $green, int $blue,
518
518
519
519
function imagecolorexactalpha (GdImage $ image , int $ red , int $ green , int $ blue , int $ alpha ): int {}
520
520
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 {}
522
522
523
523
#ifdef PHP_WIN32
524
524
@@ -533,9 +533,9 @@ function imagegrabscreen(): GdImage|false {}
533
533
/** @refcount 1 */
534
534
function imagerotate (GdImage $ image , float $ angle , int $ background_color ): GdImage |false {}
535
535
536
- function imagesettile (GdImage $ image , GdImage $ tile ): bool {}
536
+ function imagesettile (GdImage $ image , GdImage $ tile ): true {}
537
537
538
- function imagesetbrush (GdImage $ image , GdImage $ brush ): bool {}
538
+ function imagesetbrush (GdImage $ image , GdImage $ brush ): true {}
539
539
540
540
/** @refcount 1 */
541
541
function imagecreate (int $ width , int $ height ): GdImage |false {}
@@ -635,7 +635,7 @@ function imagegd2(GdImage $image, ?string $file = null, int $chunk_size = 128, i
635
635
function imagebmp (GdImage $ image , $ file = null , bool $ compressed = true ): bool {}
636
636
#endif
637
637
638
- function imagedestroy (GdImage $ image ): bool {}
638
+ function imagedestroy (GdImage $ image ): true {}
639
639
640
640
function imagecolorallocate (GdImage $ image , int $ red , int $ green , int $ blue ): int |false {}
641
641
@@ -647,7 +647,7 @@ function imagecolorclosest(GdImage $image, int $red, int $green, int $blue): int
647
647
648
648
function imagecolorclosesthwb (GdImage $ image , int $ red , int $ green , int $ blue ): int {}
649
649
650
- function imagecolordeallocate (GdImage $ image , int $ color ): bool {}
650
+ function imagecolordeallocate (GdImage $ image , int $ color ): true {}
651
651
652
652
function imagecolorresolve (GdImage $ image , int $ red , int $ green , int $ blue ): int {}
653
653
@@ -661,25 +661,25 @@ function imagecolorset(GdImage $image, int $color, int $red, int $green, int $bl
661
661
*/
662
662
function imagecolorsforindex (GdImage $ image , int $ color ): array {}
663
663
664
- function imagegammacorrect (GdImage $ image , float $ input_gamma , float $ output_gamma ): bool {}
664
+ function imagegammacorrect (GdImage $ image , float $ input_gamma , float $ output_gamma ): true {}
665
665
666
- function imagesetpixel (GdImage $ image , int $ x , int $ y , int $ color ): bool {}
666
+ function imagesetpixel (GdImage $ image , int $ x , int $ y , int $ color ): true {}
667
667
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 {}
669
669
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 {}
671
671
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 {}
673
673
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 {}
675
675
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 {}
677
677
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 {}
679
679
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 {}
681
681
682
- function imagefill (GdImage $ image , int $ x , int $ y , int $ color ): bool {}
682
+ function imagefill (GdImage $ image , int $ x , int $ y , int $ color ): true {}
683
683
684
684
function imagecolorstotal (GdImage $ image ): int {}
685
685
@@ -697,27 +697,27 @@ function imagefontwidth(GdFont|int $font): int {}
697
697
698
698
function imagefontheight (GdFont |int $ font ): int {}
699
699
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 {}
701
701
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 {}
703
703
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 {}
705
705
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 {}
707
707
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 {}
709
709
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 {}
711
711
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 {}
713
713
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 {}
715
715
716
716
function imagesx (GdImage $ image ): int {}
717
717
718
718
function imagesy (GdImage $ image ): int {}
719
719
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 {}
721
721
722
722
/**
723
723
* @return array<int, int>
@@ -756,9 +756,9 @@ function imagefilter(GdImage $image, int $filter, ...$args): bool {}
756
756
757
757
function imageconvolution (GdImage $ image , array $ matrix , float $ divisor , float $ offset ): bool {}
758
758
759
- function imageflip (GdImage $ image , int $ mode ): bool {}
759
+ function imageflip (GdImage $ image , int $ mode ): true {}
760
760
761
- function imageantialias (GdImage $ image , bool $ enable ): bool {}
761
+ function imageantialias (GdImage $ image , bool $ enable ): true {}
762
762
763
763
/** @refcount 1 */
764
764
function imagecrop (GdImage $ image , array $ rectangle ): GdImage |false {}
@@ -793,4 +793,4 @@ function imagesetinterpolation(GdImage $image, int $method = IMG_BILINEAR_FIXED)
793
793
* @return array<int, int>|true
794
794
* @refcount 1
795
795
*/
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