summaryrefslogtreecommitdiffstats
path: root/lib/private/Setup.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-03-19 14:52:54 -0600
committerMorris Jobke <hey@morrisjobke.de>2017-03-19 14:52:54 -0600
commitd99ce3971b64e89b179ebe32885ac280d49b904f (patch)
tree980a500cb37ba267e9bd459a7ea320b472865178 /lib/private/Setup.php
parent3c66ad64e626cb602685a640c235d472f0777a53 (diff)
downloadnextcloud-server-d99ce3971b64e89b179ebe32885ac280d49b904f.tar.gz
nextcloud-server-d99ce3971b64e89b179ebe32885ac280d49b904f.zip
Namespace and array syntax fixes
* minor fixes in preparation of a bigger DB and config PR Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/Setup.php')
-rw-r--r--lib/private/Setup.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/private/Setup.php b/lib/private/Setup.php
index df3f9e66630..82338b40ce5 100644
--- a/lib/private/Setup.php
+++ b/lib/private/Setup.php
@@ -80,13 +80,13 @@ class Setup {
$this->random = $random;
}
- static $dbSetupClasses = array(
- 'mysql' => '\OC\Setup\MySQL',
- 'pgsql' => '\OC\Setup\PostgreSQL',
- 'oci' => '\OC\Setup\OCI',
- 'sqlite' => '\OC\Setup\Sqlite',
- 'sqlite3' => '\OC\Setup\Sqlite',
- );
+ static $dbSetupClasses = [
+ 'mysql' => \OC\Setup\MySQL::class,
+ 'pgsql' => \OC\Setup\PostgreSQL::class,
+ 'oci' => \OC\Setup\OCI::class,
+ 'sqlite' => \OC\Setup\Sqlite::class,
+ 'sqlite3' => \OC\Setup\Sqlite::class,
+ ];
/**
* Wrapper around the "class_exists" PHP function to be able to mock it