@@ -45,7 +45,7 @@ |
||
| 45 | 45 | ->info('E-mail address to notify of registrations (leave blank for no notifications).') |
| 46 | 46 | ->defaultNull() |
| 47 | 47 | ->validate() |
| 48 | - ->ifTrue(static function ($v) { |
|
| 48 | + ->ifTrue(static function($v) { |
|
| 49 | 49 | return null !== $v && !filter_var($v, FILTER_VALIDATE_EMAIL); |
| 50 | 50 | }) |
| 51 | 51 | ->thenInvalid('Please enter a valid mail address.') |