Pārlūkot izejas kodu

fix: Add missing psalm-assert to isResource

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
pull/44658/head
Côme Chilliet pirms 2 mēnešiem
vecāks
revīzija
d6a94c60ce
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1
    0
      apps/user_ldap/lib/ILDAPWrapper.php

+ 1
- 0
apps/user_ldap/lib/ILDAPWrapper.php Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt