@@ -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 | } |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | $result = @dns_get_record($address, \DNS_TXT); |
| 27 | 27 | $result = \array_filter( |
| 28 | 28 | $result, |
| 29 | - static function (array $row) use ($address) { |
|
| 29 | + static function(array $row) use ($address) { |
|
| 30 | 30 | return $row['host'] === $address; |
| 31 | 31 | } |
| 32 | 32 | ); |