Skip to content
Permalink
Browse files

imagepng accepts resource at Argument 2 (#2373)

  • Loading branch information
k2rn authored and muglug committed Nov 25, 2019
1 parent edeb372 commit da489d4b27fbc1028365edf6398d8a8774ac44a9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Psalm/Internal/CallMap.php
@@ -5308,7 +5308,7 @@
'imageopenpolygon' => ['bool', 'image'=>'resource', 'points'=>'array', 'num_points'=>'int', 'color'=>'int'],
'imagepalettecopy' => ['void', 'dst'=>'resource', 'src'=>'resource'],
'imagepalettetotruecolor' => ['bool', 'src'=>'resource'],
'imagepng' => ['bool', 'im'=>'resource', 'filename='=>'?string', 'quality='=>'int', 'filters='=>'int'],
'imagepng' => ['bool', 'im'=>'resource', 'filename='=>'?string|?resource', 'quality='=>'int', 'filters='=>'int'],
'imagepolygon' => ['bool', 'im'=>'resource', 'point'=>'array', 'num_points'=>'int', 'col'=>'int'],
'imagerectangle' => ['bool', 'im'=>'resource', 'x1'=>'int', 'y1'=>'int', 'x2'=>'int', 'y2'=>'int', 'col'=>'int'],
'imageresolution' => ['array|bool', 'image'=>'resource', 'res_x='=>'int', 'res_y='=>'int'],

0 comments on commit da489d4

Please sign in to comment.
You can’t perform that action at this time.