Skip to content

Commit 0615a08

Browse files
committed
Add missing params
1 parent b06e9a7 commit 0615a08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/LdapInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ interface LdapInterface
285285
/**
286286
* Set the current connection to use TLS (ldaps:// protocol).
287287
*/
288-
public function setSSL(): static;
288+
public function setSSL(bool $enabled = true): static;
289289

290290
/**
291291
* Determine if the current connection instance is using TLS (ldaps:// protocol).
@@ -295,7 +295,7 @@ public function isUsingTLS(): bool;
295295
/**
296296
* Set the current connection to use STARTTLS (ldap:// with upgrade).
297297
*/
298-
public function setStartTLS(): static;
298+
public function setStartTLS(bool $enabled = true): static;
299299

300300
/**
301301
* Determine if the current connection instance is using STARTTLS (ldap:// with upgrade).

0 commit comments

Comments
 (0)