From aab847c494f554bf180b263b9b35643c2bf58762 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= <1005065+DeepDiver1975@users.noreply.github.com> Date: Tue, 10 Oct 2023 08:19:17 +0200 Subject: [PATCH] fix: phpstan --- lib/ILDAPWrapper.php | 3 ++- lib/LDAP.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/ILDAPWrapper.php b/lib/ILDAPWrapper.php index 150c8615..ea9910d2 100644 --- a/lib/ILDAPWrapper.php +++ b/lib/ILDAPWrapper.php @@ -174,7 +174,8 @@ public function read($link, $baseDN, $filter, $attr); /** * Search LDAP tree - * @param resource $link LDAP link resource + * + * @param \LDAP\Connection $link LDAP link resource * @param string $baseDN The DN of the entry to read from * @param string $filter An LDAP filter * @param array $attr array of the attributes to read diff --git a/lib/LDAP.php b/lib/LDAP.php index b4be3bf9..711281de 100644 --- a/lib/LDAP.php +++ b/lib/LDAP.php @@ -195,7 +195,7 @@ public function read($link, $baseDN, $filter, $attr) { } /** - * @param LDAP|resource $link + * @param \LDAP\Connection $link * @param string $baseDN * @param string $filter * @param array $attr