Merge pull request #47678 from nextcloud/chore/add-typings

chore(IConfig): Adjust type of `getUsersForUserValue`
pull/47684/head
Ferdinand Thiessen 2024-09-02 15:33:58 +07:00 committed by GitHub
commit cbeca43ee8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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);