Skip to content

[13.x] Add strict option to Rule::numeric() - #62031

Merged
taylorotwell merged 1 commit into
laravel:13.xfrom
lorenzolosa:numeric_strict
Oct 15, 2026
Merged

taylorotwell merged 1 commit into
laravel:13.xfrom
lorenzolosa:numeric_strict

Conversation

@lorenzolosa

Copy link
Copy Markdown
Contributor

Rule::numeric() can express most of the standard validation rules for numeric values, but not numeric:strict. Adding a strict parameter so that Rule::numeric(strict: true) is equivalent to numeric:strict.

@taylorotwell
taylorotwell merged commit 9bfc373 into laravel:13.x Oct 15, 2026
64 checks passed
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