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

Fix Imagick::profileImage() type #2312

Merged
merged 1 commit into from
Apr 1, 2023
Merged

Fix Imagick::profileImage() type #2312

merged 1 commit into from
Apr 1, 2023

Conversation

zonuexe
Copy link
Contributor

@zonuexe zonuexe commented Mar 31, 2023

Imagick::profileImage() says If the profile is NULL, it is removed from the image otherwise added.

The original stub is below:
https://github.com/Imagick/imagick/blob/28f27044e435a2b203e32675e942eb8de620ee58/Imagick.stub.php#L1050

PHP manual seems to be wrong as well: php/doc-en#2396

@ondrejmirtes ondrejmirtes merged commit eeccc36 into phpstan:1.10.x Apr 1, 2023
@ondrejmirtes
Copy link
Member

Thank you!

@zonuexe zonuexe deleted the fix/imagick-profileimage branch April 4, 2023 19:36
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