Is method naming "isNotNullIfMarkedAsNullable" in Illuminate/Validation/Validator readouble? #52475
Unanswered
katayamahide
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I think the method
isNotNullIfMarkedAsNullable
in Illuminate/Validation/Validator is not readouble.It returns true if the data of the validating attribute is
not null
regardless of whether the rule should includenullable
.And it returns false if the data value is
null
and rules includenullable
.I could not think of a good name.
Are there any better naming or the current naming seems to be good enough?
Beta Was this translation helpful? Give feedback.
All reactions