@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | $questions = []; |
| 131 | 131 | if (!$input->getArgument('email')) { |
| 132 | 132 | $question = new Question('Please choose an email:'); |
| 133 | - $question->setValidator(function ($email) { |
|
| 133 | + $question->setValidator(function($email) { |
|
| 134 | 134 | if (empty($email)) { |
| 135 | 135 | throw new \Exception('Email can not be empty'); |
| 136 | 136 | } |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | } |
| 142 | 142 | if (!$input->getArgument('password')) { |
| 143 | 143 | $question = new Question('Please choose a password:'); |
| 144 | - $question->setValidator(function ($password) { |
|
| 144 | + $question->setValidator(function($password) { |
|
| 145 | 145 | if (empty($password)) { |
| 146 | 146 | throw new \Exception('Password can not be empty'); |
| 147 | 147 | } |
@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | implode(' ', call_user_func([$this->fqcn, 'availableRoles'])) |
| 159 | 159 | ) |
| 160 | 160 | ); |
| 161 | - $question->setValidator(function ($roles) { |
|
| 161 | + $question->setValidator(function($roles) { |
|
| 162 | 162 | if (empty($roles)) { |
| 163 | 163 | $roles = implode(' ', call_user_func([$this->fqcn, 'availableRoles'])); |
| 164 | 164 | } |