@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | ): array { |
| 125 | 125 | $emailQuestion = new Question('Please enter the first email address you want to receive mails to: '); |
| 126 | 126 | $emailQuestion->setValidator( |
| 127 | - function (string $value): string { |
|
| 127 | + function(string $value): string { |
|
| 128 | 128 | if (!$value = \filter_var($value, \FILTER_VALIDATE_EMAIL)) { |
| 129 | 129 | throw new \RuntimeException('Please enter a valid email address.'); |
| 130 | 130 | } |
@@ -149,7 +149,7 @@ discard block |
||
| 149 | 149 | ): string { |
| 150 | 150 | $passwordQuestion = new Question('Enter a password for the new account: '); |
| 151 | 151 | $passwordQuestion->setValidator( |
| 152 | - function (string $value): string { |
|
| 152 | + function(string $value): string { |
|
| 153 | 153 | if (\mb_strlen($value) < 8) { |
| 154 | 154 | throw new \RuntimeException('The password should be longer.'); |
| 155 | 155 | } |