mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 22:27:31 -04:00
Merge pull request #47678 from nextcloud/chore/add-typings
chore(IConfig): Adjust type of `getUsersForUserValue`
This commit is contained in:
commit
cbeca43ee8
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