summaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-02-22 10:22:11 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-02-22 15:51:19 +0100
commit0ee45d3d20ce53db97b6835acb00a95e27ee072d (patch)
tree61a33428a9e19f1b142e0bf22df97b391ab20b0e /lib/private/Server.php
parenta229095af1f70726036c1247a6ee5914b257577d (diff)
downloadnextcloud-server-0ee45d3d20ce53db97b6835acb00a95e27ee072d.tar.gz
nextcloud-server-0ee45d3d20ce53db97b6835acb00a95e27ee072d.zip
Fix proper types
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r--lib/private/Server.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index 228f0ab5f97..d586bab15b9 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -814,7 +814,7 @@ class Server extends ServerContainer implements IServerContainer {
'cookies' => $_COOKIE,
'method' => (isset($_SERVER) && isset($_SERVER['REQUEST_METHOD']))
? $_SERVER['REQUEST_METHOD']
- : null,
+ : '',
'urlParams' => $urlParams,
],
$this->getSecureRandom(),