-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Validation Required Rule Only Accepts Arrays or Strings #423
Comments
SmolSoftBoi
changed the title
Validation Required Rule Only Accepts Booleans or Strings
Validation Required Rule Only Accepts Arrays or Strings
Mar 2, 2017
yes it should be allowed to accept anything. |
@lonnieezell In what instant should an object be considered to pass the On a side note, I've also created my own rule set for PHP types, what're your thoughts on this? |
Closed
@EpicKris Why not use use anonymous function as a rule? |
@vahidvdn I think that would be a better approach |
Fixed in e3f42e9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#The validation
required
rule currently only accepts arrays or strings, I am trying to pass it aDateTime
object and it errors out, should therequired
rule be made to allow other types?The text was updated successfully, but these errors were encountered: