aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-02-14 15:38:15 +0100
committerJoas Schilling <coding@schilljs.com>2024-02-14 15:38:15 +0100
commit696ed4a1255c58b07b724e848285af708487de5e (patch)
tree1dff6584079ebe09f4f6fcfcdc24370383b6868c /lib
parentc4684089a8542e71c8073c4bbf516ee5c0f6e0b6 (diff)
downloadnextcloud-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.php2
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