From cf2bc22e0fdc48aefca6b1760eb83dd47dcbaca0 Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Wed, 18 May 2022 21:50:47 +0200 Subject: [PATCH] Fix return type for createSpecificUser Signed-off-by: Daniel Kesselberg --- lib/private/Setup/MySQL.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/private/Setup/MySQL.php b/lib/private/Setup/MySQL.php index 920baf3e4ee..7bd8fa7b1ec 100644 --- a/lib/private/Setup/MySQL.php +++ b/lib/private/Setup/MySQL.php @@ -135,9 +135,8 @@ class MySQL extends AbstractDatabase { /** * @param $username * @param IDBConnection $connection - * @return array */ - private function createSpecificUser($username, $connection) { + private function createSpecificUser($username, $connection): void { try { //user already specified in config $oldUser = $this->config->getValue('dbuser', false); -- 2.39.5