check(); } /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return \array_merge(\array_intersect_key(parent::rules(), [ 'firstname' => '', 'lastname' => '', 'address' => '', 'postcode' => '', 'country' => '', 'city' => '', 'phone' => '', ]), [ 'sticker' => 'required|mimes:jpeg,png,jpg,pdf|max:2048', 'ticket' => 'required|mimes:jpeg,png,jpg,pdf|max:2048', 'barcode' => 'required|mimes:jpeg,png,jpg,pdf|max:2048', ]); } }