From 16557351ab67f1e1c2e2ed1d81c43e3b267fd188 Mon Sep 17 00:00:00 2001 From: phecho Date: Mon, 8 Aug 2016 14:45:47 +0800 Subject: [PATCH] Fixed typo --- app/Bus/Commands/User/AddUserCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Bus/Commands/User/AddUserCommand.php b/app/Bus/Commands/User/AddUserCommand.php index 1044f074..a99ed99f 100644 --- a/app/Bus/Commands/User/AddUserCommand.php +++ b/app/Bus/Commands/User/AddUserCommand.php @@ -52,7 +52,7 @@ final class AddUserCommand * @var string[] */ public $rules = [ - 'name' => 'required|string', + 'username' => 'required|string', 'password' => 'string', 'level' => 'int', ];