mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
chore(IConfig): getUsersForUserValue is returning a list
It is returning a list of strings so adjust the return typing to reflect this (`list<string>` instead of `array`). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
dc86ccf074
commit
bdce5921f6
2 changed files with 4 additions and 3 deletions
|
|
@ -462,7 +462,7 @@ class AllConfig implements 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
|
||||
*/
|
||||
public function getUsersForUserValue($appName, $key, $value) {
|
||||
// TODO - FIXME
|
||||
|
|
@ -496,7 +496,7 @@ class AllConfig implements 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
|
||||
*/
|
||||
public function getUsersForUserValueCaseInsensitive($appName, $key, $value) {
|
||||
// TODO - FIXME
|
||||
|
|
|
|||
|
|
@ -245,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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue