mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
issue-6737: fix CallMap_80 and CallMap_historical imagecropauto() arguments
This commit is contained in:
parent
a9d921e9c0
commit
016db6869c
@ -490,8 +490,8 @@ return [
|
||||
'new' => ['false|GdImage', 'image'=>'GdImage', 'rectangle'=>'array'],
|
||||
],
|
||||
'imagecropauto' => [
|
||||
'old' => ['resource|false', 'im'=>'resource', 'mode'=>'int', 'threshold'=>'float', 'color'=>'int'],
|
||||
'new' => ['false|GdImage', 'image'=>'GdImage', 'mode'=>'int', 'threshold'=>'float', 'color'=>'int'],
|
||||
'old' => ['resource|false', 'im'=>'resource', 'mode='=>'int', 'threshold='=>'float', 'color='=>'int'],
|
||||
'new' => ['false|GdImage', 'image'=>'GdImage', 'mode='=>'int', 'threshold='=>'float', 'color='=>'int'],
|
||||
],
|
||||
'imagedashedline' => [
|
||||
'old' => ['bool', 'image'=>'resource', 'x1'=>'int', 'y1'=>'int', 'x2'=>'int', 'y2'=>'int', 'color'=>'int'],
|
||||
|
@ -12076,7 +12076,7 @@ return [
|
||||
'imagecreatefromxpm' => ['resource|false', 'filename'=>'string'],
|
||||
'imagecreatetruecolor' => ['resource|false', 'x_size'=>'int', 'y_size'=>'int'],
|
||||
'imagecrop' => ['resource|false', 'im'=>'resource', 'rect'=>'array'],
|
||||
'imagecropauto' => ['resource|false', 'im'=>'resource', 'mode'=>'int', 'threshold'=>'float', 'color'=>'int'],
|
||||
'imagecropauto' => ['resource|false', 'im'=>'resource', 'mode='=>'int', 'threshold='=>'float', 'color='=>'int'],
|
||||
'imagedashedline' => ['bool', 'image'=>'resource', 'x1'=>'int', 'y1'=>'int', 'x2'=>'int', 'y2'=>'int', 'color'=>'int'],
|
||||
'imagedestroy' => ['bool', 'image'=>'resource'],
|
||||
'imageellipse' => ['bool', 'image'=>'resource', 'center_x'=>'int', 'center_y'=>'int', 'width'=>'int', 'height'=>'int', 'color'=>'int'],
|
||||
|
Loading…
Reference in New Issue
Block a user