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:
Ferdinand Thiessen 2024-09-02 12:25:28 +02:00
parent dc86ccf074
commit bdce5921f6
No known key found for this signature in database
GPG key ID: 45FAE7268762B400
2 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -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);