Skip to content

Add missing parameter to cropThumbnailImage#153

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

Add missing parameter to cropThumbnailImage#153
ondrejmirtes merged 1 commit intophpstan:masterfrom
Riimu:patch-1

Conversation

@Riimu
Copy link
Copy Markdown
Contributor

@Riimu Riimu commented Mar 3, 2020

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

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, uses the incorrect behaviour that was present until Imagick 3.4.0.
* If false it uses the correct behaviour.

@ondrejmirtes ondrejmirtes merged commit 8eb65f0 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