LdapConnection: Let self::bind() return $this

This commit is contained in:
Johannes Meyer 2015-07-23 17:34:09 +02:00
parent 8ed816002b
commit f06be5c9bc
1 changed files with 2 additions and 1 deletions

View File

@ -314,7 +314,7 @@ class LdapConnection implements Selectable, Inspectable
public function bind()
{
if ($this->bound) {
return;
return $this;
}
$ds = $this->getConnection();
@ -332,6 +332,7 @@ class LdapConnection implements Selectable, Inspectable
}
$this->bound = true;
return $this;
}
/**