File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,9 @@ class Auth extends BaseConfig
203203 * The validation rules for username
204204 * --------------------------------------------------------------------
205205 *
206- * @var string[]
206+ * Do not use string rules like `required|valid_email`.
207+ *
208+ * @var array<string, array<int, string>|string>
207209 */
208210 public array $ usernameValidationRules = [
209211 'label ' => 'Auth.username ' ,
@@ -220,7 +222,9 @@ class Auth extends BaseConfig
220222 * The validation rules for email
221223 * --------------------------------------------------------------------
222224 *
223- * @var string[]
225+ * Do not use string rules like `required|valid_email`.
226+ *
227+ * @var array<string, array<int, string>|string>
224228 */
225229 public array $ emailValidationRules = [
226230 'label ' => 'Auth.email ' ,
You can’t perform that action at this time.
0 commit comments