#451 PHPStan level 5

This commit is contained in:
Roland Gruber 2025-09-05 08:54:07 +02:00
parent a133fc09c5
commit 934da938ec

View file

@ -496,7 +496,7 @@ class RenameEntryTask implements ImporterTask {
*/
public function run() {
$ldap = $_SESSION['ldap']->server();
$success = @ldap_rename($ldap, $this->dn, $this->newRdn, null, $this->deleteOldRdn);
$success = @ldap_rename($ldap, $this->dn, $this->newRdn, '', $this->deleteOldRdn);
if ($success) {
return Importer::formatMessage('INFO', _('Rename successful!'), htmlspecialchars($this->dn));
}