How can I validate if field end_date is filled, field start_time should be empty? something like: 'start_time' => 'empty_with:end_date'
public function rules()
{
return [
'start_date' => 'required',
'end_date' => 'nullable|after:start_date',
'start_time' => 'empty_with:end_date',
'end_time' => 'required_with:start_time',
];
}