}
return results;
}
}
}
Notice that you remove the
method contains only a single
different validation errors at once.
226
Creating Custom Validators
statement from the body of the
return
statemen. This modification allows you to detect three
return
statements so that the
if