Passed
Branch master (77e960)
by Alexis
03:05
created
Category
src/Security/Command/CreateUserCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 
86 86
         if (!$input->getArgument('username')) {
87 87
             $question = new Question('Please choose a username:');
88
-            $question->setValidator(function ($username) {
88
+            $question->setValidator(function($username) {
89 89
                 if (empty($username)) {
90 90
                     throw new Exception('Username can not be empty');
91 91
                 }
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 
98 98
         if (!$input->getArgument('email')) {
99 99
             $question = new Question('Please choose an email:');
100
-            $question->setValidator(function ($email) {
100
+            $question->setValidator(function($email) {
101 101
                 if (empty($email)) {
102 102
                     throw new Exception('Email can not be empty');
103 103
                 }
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 
111 111
         if (!$input->getArgument('password')) {
112 112
             $question = new Question('Please choose a password:');
113
-            $question->setValidator(function ($password) {
113
+            $question->setValidator(function($password) {
114 114
                 if (empty($password)) {
115 115
                     throw new Exception('Password can not be empty');
116 116
                 }
Please login to merge, or discard this patch.