aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Setup
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2022-05-18 21:50:47 +0200
committerDaniel Kesselberg <mail@danielkesselberg.de>2022-05-19 14:36:52 +0200
commitcf2bc22e0fdc48aefca6b1760eb83dd47dcbaca0 (patch)
tree17f3c78c2ce58fb18aa1ed49cba9c03bafb1696a /lib/private/Setup
parente163b1bb48a33c08a0e433d5d98fbc567c1243a9 (diff)
downloadnextcloud-server-cf2bc22e0fdc48aefca6b1760eb83dd47dcbaca0.tar.gz
nextcloud-server-cf2bc22e0fdc48aefca6b1760eb83dd47dcbaca0.zip
Fix return type for createSpecificUser
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'lib/private/Setup')
-rw-r--r--lib/private/Setup/MySQL.php3
1 files changed, 1 insertions, 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);