diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-03-11 16:17:29 +0300 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-03-11 16:17:29 +0300 |
commit | 8d7380a15de1ebeaced9bada661c5f137380a674 (patch) | |
tree | 5df8d78184e82faddc48367ccf58ef97ef4b6e93 /apps/user_ldap | |
parent | 3a0b934f842b01973f7d56f7e46a618a28680cd3 (diff) |
Fix psalm issue about userCounts
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/user_ldap')
-rw-r--r-- | apps/user_ldap/lib/User_LDAP.php | 3 | ||||
-rw-r--r-- | apps/user_ldap/lib/User_Proxy.php | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/apps/user_ldap/lib/User_LDAP.php b/apps/user_ldap/lib/User_LDAP.php index 9cd90451ea3..f0525daa974 100644 --- a/apps/user_ldap/lib/User_LDAP.php +++ b/apps/user_ldap/lib/User_LDAP.php @@ -47,9 +47,10 @@ use OCA\User_LDAP\User\User; use OCP\IConfig; use OCP\IUserSession; use OCP\Notification\IManager as INotificationManager; +use OCP\User\Backend\ICountUsersBackend; use Psr\Log\LoggerInterface; -class User_LDAP extends BackendUtility implements \OCP\IUserBackend, \OCP\UserInterface, IUserLDAP { +class User_LDAP extends BackendUtility implements \OCP\IUserBackend, \OCP\UserInterface, IUserLDAP, ICountUsersBackend { /** @var \OCP\IConfig */ protected $ocConfig; diff --git a/apps/user_ldap/lib/User_Proxy.php b/apps/user_ldap/lib/User_Proxy.php index 183c90493cf..040d4f5aa69 100644 --- a/apps/user_ldap/lib/User_Proxy.php +++ b/apps/user_ldap/lib/User_Proxy.php @@ -35,8 +35,9 @@ use OCA\User_LDAP\User\User; use OCP\IConfig; use OCP\IUserSession; use OCP\Notification\IManager as INotificationManager; +use OCP\User\Backend\ICountUsersBackend; -class User_Proxy extends Proxy implements \OCP\IUserBackend, \OCP\UserInterface, IUserLDAP { +class User_Proxy extends Proxy implements \OCP\IUserBackend, \OCP\UserInterface, IUserLDAP, ICountUsersBackend { private $backends = []; /** @var User_LDAP */ private $refBackend = null; |