Skip to content

Commit

Permalink
Merge pull request #8403 from paulfedorow/imageinterlace-callmap-fix-4.x
Browse files Browse the repository at this point in the history
Fix `imageinterlace` function signature
  • Loading branch information
orklah committed Aug 12, 2022
2 parents 7e010a7 + 8908638 commit 24b8b8e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dictionaries/CallMap.php
Expand Up @@ -5410,7 +5410,7 @@
'imagegif' => ['bool', 'image'=>'GdImage', 'file='=>'string|resource|null'],
'imagegrabscreen' => ['false|GdImage'],
'imagegrabwindow' => ['false|GdImage', 'handle'=>'int', 'client_area='=>'int'],
'imageinterlace' => ['int|false', 'image'=>'GdImage', 'enable='=>'int'],
'imageinterlace' => ['bool', 'image'=>'GdImage', 'enable='=>'bool|null'],
'imageistruecolor' => ['bool', 'image'=>'GdImage'],
'imagejpeg' => ['bool', 'image'=>'GdImage', 'file='=>'string|resource|null', 'quality='=>'int'],
'imagelayereffect' => ['bool', 'image'=>'GdImage', 'effect'=>'int'],
Expand Down
2 changes: 1 addition & 1 deletion dictionaries/CallMap_80_delta.php
Expand Up @@ -647,7 +647,7 @@
],
'imageinterlace' => [
'old' => ['int|false', 'image'=>'resource', 'enable='=>'int'],
'new' => ['int|false', 'image'=>'GdImage', 'enable='=>'int'],
'new' => ['int|bool', 'image'=>'GdImage', 'enable='=>'bool|null'],
],
'imageistruecolor' => [
'old' => ['bool', 'image'=>'resource'],
Expand Down
4 changes: 4 additions & 0 deletions dictionaries/CallMap_81_delta.php
Expand Up @@ -233,6 +233,10 @@
'old' => ['HashContext', 'algo'=>'string', 'flags='=>'int', 'key='=>'string'],
'new' => ['HashContext', 'algo'=>'string', 'flags='=>'int', 'key='=>'string', 'options='=>'array'],
],
'imageinterlace' => [
'old' => ['int|bool', 'image'=>'GdImage', 'enable='=>'bool|null'],
'new' => ['bool', 'image'=>'GdImage', 'enable='=>'bool|null'],
],
'imap_append' => [
'old' => ['bool', 'imap'=>'resource', 'folder'=>'string', 'message'=>'string', 'options='=>'string', 'internal_date='=>'string'],
'new' => ['bool', 'imap'=>'IMAP\Connection', 'folder'=>'string', 'message'=>'string', 'options='=>'string', 'internal_date='=>'string'],
Expand Down
1 change: 0 additions & 1 deletion tests/Internal/Codebase/InternalCallMapHandlerTest.php
Expand Up @@ -112,7 +112,6 @@ class InternalCallMapHandlerTest extends TestCase
'imagefilter',
'imagegd',
'imagegd2',
'imageinterlace',
'imageopenpolygon',
'imagepolygon',
'imagerotate',
Expand Down

0 comments on commit 24b8b8e

Please sign in to comment.