From d9015a8c94bfd71fe484618a06d276701d3bf9ff Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Mon, 5 Oct 2020 15:12:57 +0200 Subject: Format code to a single space around binary operators Signed-off-by: Christoph Wurst --- lib/private/Security/Normalizer/IpAddress.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/Security/Normalizer') diff --git a/lib/private/Security/Normalizer/IpAddress.php b/lib/private/Security/Normalizer/IpAddress.php index b471c499440..1aac69d1b06 100644 --- a/lib/private/Security/Normalizer/IpAddress.php +++ b/lib/private/Security/Normalizer/IpAddress.php @@ -78,7 +78,7 @@ class IpAddress { } $pos = strpos($ip, '%'); // if there is an explicit interface added to the IP, e.g. fe80::ae2d:d1e7:fe1e:9a8d%enp2s0 if ($pos !== false) { - $ip = substr($ip, 0, $pos-1); + $ip = substr($ip, 0, $pos - 1); } $binary = \inet_pton($ip); for ($i = 128; $i > $maskBits; $i -= 8) { -- cgit v1.2.3