Переглянути джерело

fix: Add missing psalm-assert to isResource

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
pull/44658/head
Côme Chilliet 2 місяці тому
джерело
коміт
d6a94c60ce
1 змінених файлів з 1 додано та 0 видалено
  1. 1
    0
      apps/user_ldap/lib/ILDAPWrapper.php

+ 1
- 0
apps/user_ldap/lib/ILDAPWrapper.php Переглянути файл

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

Завантаження…
Відмінити
Зберегти