mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
fix(IUserManager): Use correct return type for searchDisplayName method
Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
parent
d36fc65c75
commit
dce2672b98
2 changed files with 1 additions and 9 deletions
|
|
@ -278,14 +278,6 @@ class Manager extends PublicEmitter implements IUserManager {
|
|||
return $users;
|
||||
}
|
||||
|
||||
/**
|
||||
* Search by displayName
|
||||
*
|
||||
* @param string $pattern
|
||||
* @param int $limit
|
||||
* @param int $offset
|
||||
* @return IUser[]
|
||||
*/
|
||||
public function searchDisplayName($pattern, $limit = null, $offset = null) {
|
||||
$users = [];
|
||||
foreach ($this->backends as $backend) {
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@ interface IUserManager {
|
|||
* @param string $pattern
|
||||
* @param int $limit
|
||||
* @param int $offset
|
||||
* @return \OCP\IUser[]
|
||||
* @return list<IUser>
|
||||
* @since 8.0.0
|
||||
*/
|
||||
public function searchDisplayName($pattern, $limit = null, $offset = null);
|
||||
|
|
|
|||
Loading…
Reference in a new issue