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

[5.1] Validation rules won't throw an Exception when the input value is an array #12973

Merged
merged 2 commits into from
Apr 1, 2016

Conversation

superjinjo
Copy link

Previously when you used any of the date related rules or the active_url rule in the Validator, it would throw an Exception when you passed an array as the attribute value and tried to validate it. I've fixed it so now they simply return false.

Nicole Martinez added 2 commits March 31, 2016 21:24
…they return false when the value is an array instead of throwing an exception
@GrahamCampbell GrahamCampbell changed the title Validation rules won't throw an Exception when the input value is an array [5.1] Validation rules won't throw an Exception when the input value is an array Apr 1, 2016
@taylorotwell taylorotwell merged commit 079acc2 into laravel:5.1 Apr 1, 2016
@superjinjo superjinjo deleted the 5.1 branch April 5, 2016 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants