Skip to content

Commit 1a1642e

Browse files
wouterjfabpot
authored andcommitted
Add CI check ensuring interfaces have return types
1 parent a7820a3 commit 1a1642e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Adapter/ConnectionInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ public function isBound(): bool;
3131
* @throws AlreadyExistsException When the connection can't be created because of an LDAP_ALREADY_EXISTS error
3232
* @throws ConnectionTimeoutException When the connection can't be created because of an LDAP_TIMEOUT error
3333
* @throws InvalidCredentialsException When the connection can't be created because of an LDAP_INVALID_CREDENTIALS error
34+
*
35+
* @return void
3436
*/
3537
public function bind(string $dn = null, #[\SensitiveParameter] string $password = null);
3638
}

LdapInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ interface LdapInterface
2929
* Return a connection bound to the ldap.
3030
*
3131
* @throws ConnectionException if dn / password could not be bound
32+
*
33+
* @return void
3234
*/
3335
public function bind(string $dn = null, #[\SensitiveParameter] string $password = null);
3436

0 commit comments

Comments
 (0)