aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Setup/AbstractDatabase.php
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2021-02-18 14:05:54 +0100
committerGitHub <noreply@github.com>2021-02-18 14:05:54 +0100
commit5026d2cca10fa65be68367002eff147d7dc71077 (patch)
treed4d7119b0b8f547aebcc857c5297fc52ccc5a4b3 /lib/private/Setup/AbstractDatabase.php
parentbbb39cf3deb350738a28b5f5bdf40572f1406897 (diff)
parenteb502c02ff7693bb36318d857985f79e7bac370c (diff)
downloadnextcloud-server-5026d2cca10fa65be68367002eff147d7dc71077.tar.gz
nextcloud-server-5026d2cca10fa65be68367002eff147d7dc71077.zip
Merge pull request #25086 from nextcloud/dependabot/composer/nextcloud/coding-standard-0.5.0
Bump nextcloud/coding-standard from 0.3.0 to 0.5.0
Diffstat (limited to 'lib/private/Setup/AbstractDatabase.php')
-rw-r--r--lib/private/Setup/AbstractDatabase.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Setup/AbstractDatabase.php b/lib/private/Setup/AbstractDatabase.php
index e0761db3070..77f3c02f9f6 100644
--- a/lib/private/Setup/AbstractDatabase.php
+++ b/lib/private/Setup/AbstractDatabase.php
@@ -127,7 +127,7 @@ abstract class AbstractDatabase {
}
} elseif (strpos($this->dbHost, ':')) {
// Host variable may carry a port or socket.
- list($host, $portOrSocket) = explode(':', $this->dbHost, 2);
+ [$host, $portOrSocket] = explode(':', $this->dbHost, 2);
if (ctype_digit($portOrSocket)) {
$connectionParams['port'] = $portOrSocket;
} else {