diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-03-14 11:27:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-14 11:27:43 +0100 |
commit | 371fa1c49a33ff1d03913b00446d109d03def1d7 (patch) | |
tree | 58344eadb65e5b43718704a98a2dda2813633cf7 /apps | |
parent | 4e96db86080aa5e85bb6bec139c7f3f5259f2628 (diff) | |
parent | 1bf5ab35a8838161060e3270673e5febee101925 (diff) | |
download | nextcloud-server-371fa1c49a33ff1d03913b00446d109d03def1d7.tar.gz nextcloud-server-371fa1c49a33ff1d03913b00446d109d03def1d7.zip |
Merge pull request #31542 from nextcloud/psalm-userCounts
Fix psalm issue about userCounts
Diffstat (limited to 'apps')
-rw-r--r-- | apps/user_ldap/lib/User_LDAP.php | 5 | ||||
-rw-r--r-- | apps/user_ldap/lib/User_Proxy.php | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/apps/user_ldap/lib/User_LDAP.php b/apps/user_ldap/lib/User_LDAP.php index 9cd90451ea3..5a445100052 100644 --- a/apps/user_ldap/lib/User_LDAP.php +++ b/apps/user_ldap/lib/User_LDAP.php @@ -47,9 +47,12 @@ use OCA\User_LDAP\User\User; use OCP\IConfig; use OCP\IUserSession; use OCP\Notification\IManager as INotificationManager; +use OCP\User\Backend\ICountUsersBackend; +use OCP\IUserBackend; +use OCP\UserInterface; use Psr\Log\LoggerInterface; -class User_LDAP extends BackendUtility implements \OCP\IUserBackend, \OCP\UserInterface, IUserLDAP { +class User_LDAP extends BackendUtility implements IUserBackend, 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; |