From 426c0341ffff262f58d1b7f031de4f0c53c8bec5 Mon Sep 17 00:00:00 2001 From: Côme Chilliet Date: Wed, 5 Apr 2023 12:50:08 +0200 Subject: Use typed version of IConfig::getSystemValue as much as possible MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- lib/private/App/Platform.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/App/Platform.php') diff --git a/lib/private/App/Platform.php b/lib/private/App/Platform.php index 01bf6748654..1cab740bebb 100644 --- a/lib/private/App/Platform.php +++ b/lib/private/App/Platform.php @@ -56,7 +56,7 @@ class Platform { } public function getDatabase(): string { - $dbType = $this->config->getSystemValue('dbtype', 'sqlite'); + $dbType = $this->config->getSystemValueString('dbtype', 'sqlite'); if ($dbType === 'sqlite3') { $dbType = 'sqlite'; } -- cgit v1.2.3