Skip to content

Add missing parameter to thumbnailImage#154

Merged
ondrejmirtes merged 1 commit intophpstan:masterfrom
Riimu:patch-2
Mar 3, 2020
Merged

Add missing parameter to thumbnailImage#154
ondrejmirtes merged 1 commit intophpstan:masterfrom
Riimu:patch-2

Conversation

@Riimu
Copy link
Copy Markdown
Contributor

@Riimu Riimu commented Mar 3, 2020

The function map is missing the $legacy parameter for Imagick::thumbnailImage.

The phpstorm stub has the following description for it:

* @param bool $legacy [optional] Added since 3.4.0. Default value FALSE

Additionally, the description to the function describes it as:

* If legacy is true, the calculations are done with the small rounding bug that existed in Imagick before 3.4.0.<br>
* If false, the calculations should produce the same results as ImageMagick CLI does.<br>

@ondrejmirtes ondrejmirtes merged commit 4d69043 into phpstan:master Mar 3, 2020
@ondrejmirtes
Copy link
Copy Markdown
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants