harim->edareh_shahri_id == auth()->user()->edarate_shahri_id && $this->harim->state_id == HarimStates::BARESI_EDARE_SHAHRESTAN->value; } /** * Get the validation rules that apply to the request. * * @return array */ public function rules(): array { return [ 'expert_description' => 'required|string', 'forbidden_area' => 'array', 'forbidden_area.type' => 'string', 'forbidden_area.coordinates' => 'array', ]; } }