Passed
Push — master ( 32cb6d...84b76e )
by Sergey
04:44
created
src/LTDBeget/dns/configurator/validators/DnsZoneDomainNameValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     public static function validate(string $hostname) : bool 
22 22
     {
23 23
         $hostname = preg_replace('/^\*\./', '', $hostname);
24
-        if(in_array($hostname, ['@', '*', '.'])) {
24
+        if (in_array($hostname, ['@', '*', '.'])) {
25 25
             return true;
26 26
         }
27 27
 
Please login to merge, or discard this patch.