summaryrefslogtreecommitdiffstats
path: root/lib/private/DB
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-05-09 12:12:13 +0200
committerJoas Schilling <coding@schilljs.com>2018-05-09 12:12:13 +0200
commitea834dab280cdd3a14e5e0c6e5ff47ea066225fb (patch)
treefe1b0441541383dcea48cf8a8b0c08c5021391e4 /lib/private/DB
parenteb429e7ee62dba53c7cb257d1e4fb3b09a7d398b (diff)
downloadnextcloud-server-ea834dab280cdd3a14e5e0c6e5ff47ea066225fb.tar.gz
nextcloud-server-ea834dab280cdd3a14e5e0c6e5ff47ea066225fb.zip
php 5.6 compatibility
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/DB')
-rw-r--r--lib/private/DB/ConnectionFactory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/DB/ConnectionFactory.php b/lib/private/DB/ConnectionFactory.php
index 3ce1dd3bc05..e0e61d5c9d6 100644
--- a/lib/private/DB/ConnectionFactory.php
+++ b/lib/private/DB/ConnectionFactory.php
@@ -228,7 +228,7 @@ class ConnectionFactory {
* @param string $host
* @return array
*/
- protected function splitHostFromPortAndSocket($host): array {
+ protected function splitHostFromPortAndSocket($host) {
$params = [
'host' => $host,
];