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

[TypeDeclaration] Fix abs() returns on ReturnTypeFromStrictTypedCallRector #5652

Merged
merged 6 commits into from Feb 21, 2024

Conversation

samsonasik
Copy link
Member

Closes #5649

integer and others added 5 commits February 21, 2024 23:08
Function [abs](https://www.php.net/manual/en/function.abs.php) returns int or float (depends on input parameter). For PHP versions without support union return types this rule should only add return type into docBlock.
@samsonasik
Copy link
Member Author

Fixed 🎉 /cc @integer

@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba I am merging it ;)

@samsonasik samsonasik merged commit 99a79f8 into main Feb 21, 2024
41 checks passed
@samsonasik samsonasik deleted the fix-abs branch February 21, 2024 16:16
@integer
Copy link
Contributor

integer commented Feb 21, 2024

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
3 participants