Skip to content

Commit

Permalink
fix: phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepDiver1975 committed Feb 29, 2024
1 parent 33e97d7 commit aab847c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/ILDAPWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/LDAP.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aab847c

Please sign in to comment.