@@ -22,7 +22,7 @@ |
||
| 22 | 22 | $result = @dns_get_record($address, \DNS_TXT); |
| 23 | 23 | $result = \array_filter( |
| 24 | 24 | $result, |
| 25 | - fn (array $row) => $row['host'] === $address |
|
| 25 | + fn(array $row) => $row['host'] === $address |
|
| 26 | 26 | ); |
| 27 | 27 | |
| 28 | 28 | if (empty($result)) { |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | ): array { |
| 126 | 126 | $emailQuestion = new Question('Please enter the first email address you want to receive mails to: '); |
| 127 | 127 | $emailQuestion->setValidator( |
| 128 | - function (string $value): string { |
|
| 128 | + function(string $value): string { |
|
| 129 | 129 | if (!$value = \filter_var($value, \FILTER_VALIDATE_EMAIL)) { |
| 130 | 130 | throw new RuntimeException('Please enter a valid email address.'); |
| 131 | 131 | } |
@@ -150,7 +150,7 @@ discard block |
||
| 150 | 150 | ): string { |
| 151 | 151 | $passwordQuestion = new Question('Enter a password for the new account: '); |
| 152 | 152 | $passwordQuestion->setValidator( |
| 153 | - function (string $value): string { |
|
| 153 | + function(string $value): string { |
|
| 154 | 154 | if (\mb_strlen($value) < 8) { |
| 155 | 155 | throw new RuntimeException('The password should be longer.'); |
| 156 | 156 | } |