diff options
author | Joas Schilling <coding@schilljs.com> | 2024-02-14 15:38:15 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-02-14 15:38:15 +0100 |
commit | 696ed4a1255c58b07b724e848285af708487de5e (patch) | |
tree | 1dff6584079ebe09f4f6fcfcdc24370383b6868c /lib | |
parent | c4684089a8542e71c8073c4bbf516ee5c0f6e0b6 (diff) | |
download | nextcloud-server-696ed4a1255c58b07b724e848285af708487de5e.tar.gz nextcloud-server-696ed4a1255c58b07b724e848285af708487de5e.zip |
fix(CS): Fix coding style
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/AppFramework/Http/Request.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/AppFramework/Http/Request.php b/lib/private/AppFramework/Http/Request.php index 854585a41d6..b905c6184fa 100644 --- a/lib/private/AppFramework/Http/Request.php +++ b/lib/private/AppFramework/Http/Request.php @@ -611,7 +611,7 @@ class Request implements \ArrayAccess, \Countable, IRequest { if ($colons > 1) { // Extract IP from string with brackets and optional port if (preg_match('/^\[(.+?)\](?::\d+)?$/', $IP, $matches) && isset($matches[1])) { - $IP = $matches[1]; + $IP = $matches[1]; } } elseif ($colons === 1) { // IPv4 with port |