Skip to content

Commit c15060d

Browse files
Merge branch '6.4' into 7.0
* 6.4: More short closures + isset instead of null checks + etc.
2 parents d15d42e + f2ae42b commit c15060d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Adapter/ExtLdap/Query.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ public function __wakeup(): void
4343
public function __destruct()
4444
{
4545
$con = $this->connection->getResource();
46-
$this->connection = null;
4746

4847
if (!isset($this->results)) {
4948
return;
@@ -57,7 +56,6 @@ public function __destruct()
5756
throw new LdapException('Could not free results: '.ldap_error($con));
5857
}
5958
}
60-
unset($this->results);
6159
}
6260

6361
public function execute(): CollectionInterface

0 commit comments

Comments
 (0)