]> BookStack Code Mirror - bookstack/blobdiff - app/Actions/IpFormatter.php
Guest create page: name field autofocus
[bookstack] / app / Actions / IpFormatter.php
index 3ca4b6e6602d792fb20a8cc799cbdad5296a5c88..21616ed29b537d39abccf2170335e8d375bbc3fd 100644 (file)
@@ -25,7 +25,7 @@ class IpFormatter
     protected function maskIpv4(): string
     {
         $exploded = $this->explodeAndExpandIp('.', 4);
-        $maskGroupCount = min( 4 - $this->precision, count($exploded));
+        $maskGroupCount = min(4 - $this->precision, count($exploded));
 
         for ($i = 0; $i < $maskGroupCount; $i++) {
             $exploded[3 - $i] = 'x';
@@ -78,4 +78,4 @@ class IpFormatter
 
         return new self($ip, config('app.ip_address_precision'));
     }
-}
\ No newline at end of file
+}