Skip to content

Conversation

@platoindebugmode
Copy link
Contributor

This PR updates Laravel’s number parsing helpers to include false in their return types, matching the documented behavior of Number::parse*() when parsing fails and preventing unexpected TypeError exceptions in userland code.

@taylorotwell taylorotwell merged commit db46b79 into laravel:12.x Sep 20, 2025
65 checks passed
tegos pushed a commit to tegos/laravel-framework that referenced this pull request Sep 28, 2025
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