diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-09 16:17:53 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-09 16:17:53 +0200 |
commit | 3a415e4139d6e28c16b0420ab411e6df5ff6d54a (patch) | |
tree | 21c2445fd366a9d24c1171b890e37f21608718d0 /lib/private/AppFramework | |
parent | f4c09f299d989b117ebdf769632dcc6d4582791c (diff) | |
download | nextcloud-server-3a415e4139d6e28c16b0420ab411e6df5ff6d54a.tar.gz nextcloud-server-3a415e4139d6e28c16b0420ab411e6df5ff6d54a.zip |
Remove space between switch case and colon
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/AppFramework')
-rw-r--r-- | lib/private/AppFramework/Http/Request.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/AppFramework/Http/Request.php b/lib/private/AppFramework/Http/Request.php index 41bfbd82506..9b8c0690ba6 100644 --- a/lib/private/AppFramework/Http/Request.php +++ b/lib/private/AppFramework/Http/Request.php @@ -327,8 +327,8 @@ class Request implements \ArrayAccess, \Countable, IRequest { // There's a few headers that seem to end up in the top-level // server array. switch ($name) { - case 'CONTENT_TYPE' : - case 'CONTENT_LENGTH' : + case 'CONTENT_TYPE': + case 'CONTENT_LENGTH': case 'REMOTE_ADDR': if (isset($this->server[$name])) { return $this->server[$name]; @@ -811,7 +811,7 @@ class Request implements \ArrayAccess, \Countable, IRequest { $encoding = mb_detect_encoding($pathInfo, ['UTF-8', 'ISO-8859-1']); switch($encoding) { - case 'ISO-8859-1' : + case 'ISO-8859-1': $pathInfo = utf8_encode($pathInfo); } // end copy |