@@ -47,7 +47,7 @@ |
||
47 | 47 | } |
48 | 48 | |
49 | 49 | if (!in_array($role, array_merge(User::USER_ROLES, ['ROLE_USER']), true)) { |
50 | - throw new \InvalidArgumentException("Role {$role} is not a valid role."); |
|
50 | + throw new \InvalidArgumentException("role {$role} is not a valid role."); |
|
51 | 51 | } |
52 | 52 | |
53 | 53 | $user = new User($username); |