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

Operations on BcMath\Number (PHP8.4) throws InvalidOperand error #11223

Open
faizanakram99 opened this issue Jan 30, 2025 · 2 comments
Open

Operations on BcMath\Number (PHP8.4) throws InvalidOperand error #11223

faizanakram99 opened this issue Jan 30, 2025 · 2 comments
Labels
Milestone

Comments

@faizanakram99
Copy link

InvalidOperand: Cannot perform a numeric operation with non-numeric types BcMath\Number and BcMath\Number (see https://psalm.dev/058)

Copy link

Hey @faizanakram99, can you reproduce the issue on https://psalm.dev? These will be used as phpunit tests when implementing the feature or fixing this bug.

@faizanakram99
Copy link
Author

Hey @faizanakram99, can you reproduce the issue on https://psalm.dev? These will be used as phpunit tests when implementing the feature or fixing this bug.

no, the extension isn't installed on psalm.dev environment, it doesn't recognize BcMath\Number class.

@orklah orklah added the bug label Feb 5, 2025
@orklah orklah added this to the PHP 8.4 milestone Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants