Skip to content

Conversation

themasch
Copy link

Add signature for bcround so phpstan knows that it accepts & returns numeric-string instead of a raw string.

phpdoc link: https://www.php.net/manual/en/function.bcround.php

Related: phpstan/phpstan#13364

@ondrejmirtes ondrejmirtes merged commit ac71c94 into phpstan:2.1.x Sep 25, 2025
539 of 549 checks passed
@ondrejmirtes
Copy link
Member

Thank you!

@themasch
Copy link
Author

Thank you for providing this tool, and guidance on how we can help to improve it.
I deeply appreciate it!

@themasch themasch deleted the add-bcround-signature branch September 25, 2025 08:22
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