hello ,I need to ensure in laravel that area.id MUST be NULL . so I neeed to do something like this - return['area.*.id'=>'required|null', ]; the proble is that the null does not exist . it will give this error - Method Illuminate\Validation\Validator::validateNull does not exis...
Check this trait,Illuminate\Foundation\Validation\ValidatesRequests, it contains the methods used in the controller for dealing with the validator. I don't understand why you want to use the same instance, you can just create a new validator and use thesometimes()method as you wish, you don'...