From 14dd7efda6172d8a3a28f32773b2b62b53511ab8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Fri, 18 Feb 2022 18:55:05 +0800 Subject: [PATCH] modify plugin name --- BaseValidator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseValidator.php b/BaseValidator.php index 44e0fae..da1be48 100644 --- a/BaseValidator.php +++ b/BaseValidator.php @@ -10,7 +10,7 @@ use Exception; abstract class BaseValidator { - public string $field = ''; + public array $field = []; public array $rules = [];