aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/IConfig.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/IConfig.php')
-rw-r--r--lib/public/IConfig.php39
1 files changed, 9 insertions, 30 deletions
diff --git a/lib/public/IConfig.php b/lib/public/IConfig.php
index 706e4776221..3bc64c5e133 100644
--- a/lib/public/IConfig.php
+++ b/lib/public/IConfig.php
@@ -1,31 +1,9 @@
<?php
+
/**
- * @copyright Copyright (c) 2016, ownCloud, Inc.
- *
- * @author Bart Visscher <bartv@thisnet.nl>
- * @author Christoph Wurst <christoph@winzerhof-wurst.at>
- * @author Joas Schilling <coding@schilljs.com>
- * @author Jörn Friedrich Dreyer <jfd@butonic.de>
- * @author Lukas Reschke <lukas@statuscode.ch>
- * @author Morris Jobke <hey@morrisjobke.de>
- * @author Robin Appelman <robin@icewind.nl>
- * @author Roeland Jago Douma <roeland@famdouma.nl>
- * @author Thomas Müller <thomas.mueller@tmit.eu>
- *
- * @license AGPL-3.0
- *
- * This code is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License, version 3,
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License, version 3,
- * along with this program. If not, see <http://www.gnu.org/licenses/>
- *
+ * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-only
*/
// use OCP namespace for all classes that are considered public.
// This means that they should be used by apps instead of the internal Nextcloud classes
@@ -228,9 +206,9 @@ interface IConfig {
* @param string $userId the userId of the user that we want to get all values from
* @psalm-return array<string, array<string, string>>
* @return array[] - 2 dimensional array with the following structure:
- * [ $appId =>
- * [ $key => $value ]
- * ]
+ * [ $appId =>
+ * [ $key => $value ]
+ * ]
* @since 24.0.0
*/
public function getAllUserValues(string $userId): array;
@@ -267,7 +245,8 @@ interface IConfig {
* @param string $appName the app to get the user for
* @param string $key the key to get the user for
* @param string $value the value to get the user for
- * @return array of user IDs
+ * @return list<string> of user IDs
+ * @since 31.0.0 return type of `list<string>`
* @since 8.0.0
*/
public function getUsersForUserValue($appName, $key, $value);