Browse Source

fix: Add missing psalm-assert to isResource

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
pull/44658/head
Côme Chilliet 1 month ago
parent
commit
d6a94c60ce
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      apps/user_ldap/lib/ILDAPWrapper.php

+ 1
- 0
apps/user_ldap/lib/ILDAPWrapper.php View File

@@ -205,6 +205,7 @@ interface ILDAPWrapper {
/**
* Checks whether the submitted parameter is a resource
* @param mixed $resource the resource variable to check
* @psalm-assert-if-true object $resource
* @return bool true if it is a resource or LDAP object, false otherwise
*/
public function isResource($resource);

Loading…
Cancel
Save