mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
fix return values of imagettfbbox and imagettftext (#929)
This commit is contained in:
parent
37be70a465
commit
c54534c640
@ -4440,8 +4440,8 @@ return [
|
||||
'imagesx' => ['int', 'im'=>'resource'],
|
||||
'imagesy' => ['int', 'im'=>'resource'],
|
||||
'imagetruecolortopalette' => ['bool', 'im'=>'resource', 'ditherflag'=>'bool', 'colorswanted'=>'int'],
|
||||
'imagettfbbox' => ['array', 'size'=>'float', 'angle'=>'float', 'font_file'=>'string', 'text'=>'string'],
|
||||
'imagettftext' => ['array', 'im'=>'resource', 'size'=>'float', 'angle'=>'float', 'x'=>'int', 'y'=>'int', 'col'=>'int', 'font_file'=>'string', 'text'=>'string'],
|
||||
'imagettfbbox' => ['false|array', 'size'=>'float', 'angle'=>'float', 'font_file'=>'string', 'text'=>'string'],
|
||||
'imagettftext' => ['false|array', 'im'=>'resource', 'size'=>'float', 'angle'=>'float', 'x'=>'int', 'y'=>'int', 'col'=>'int', 'font_file'=>'string', 'text'=>'string'],
|
||||
'imagetypes' => ['int'],
|
||||
'imagewbmp' => ['bool', 'im'=>'resource', 'filename='=>'?string', 'foreground='=>'int'],
|
||||
'imagewebp' => ['bool', 'im'=>'resource', 'filename='=>'?string', 'quality='=>'int'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user