Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing parameter to cropThumbnailImage #153

Merged
merged 1 commit into from
Mar 3, 2020
Merged

Add missing parameter to cropThumbnailImage #153

merged 1 commit into from
Mar 3, 2020

Conversation

Riimu
Copy link
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
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
2 participants