Skip to content

Commit 1d5d845

Browse files
keradusfabpot
authored andcommitted
chore: PHP CS Fixer fixes
1 parent 48013cf commit 1d5d845

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Adapter/ExtLdap/Connection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function bind(?string $dn = null, #[\SensitiveParameter] ?string $passwor
7171

7272
if (false === @ldap_bind($this->connection, $dn, $password)) {
7373
$error = ldap_error($this->connection);
74-
ldap_get_option($this->connection, LDAP_OPT_DIAGNOSTIC_MESSAGE, $diagnostic);
74+
ldap_get_option($this->connection, \LDAP_OPT_DIAGNOSTIC_MESSAGE, $diagnostic);
7575

7676
throw match (ldap_errno($this->connection)) {
7777
self::LDAP_INVALID_CREDENTIALS => new InvalidCredentialsException($error),
@@ -99,7 +99,7 @@ public function saslBind(?string $dn = null, #[\SensitiveParameter] ?string $pas
9999

100100
if (false === @ldap_sasl_bind($this->connection, $dn, $password, $mech, $realm, $authcId, $authzId, $props)) {
101101
$error = ldap_error($this->connection);
102-
ldap_get_option($this->connection, LDAP_OPT_DIAGNOSTIC_MESSAGE, $diagnostic);
102+
ldap_get_option($this->connection, \LDAP_OPT_DIAGNOSTIC_MESSAGE, $diagnostic);
103103

104104
throw match (ldap_errno($this->connection)) {
105105
self::LDAP_INVALID_CREDENTIALS => new InvalidCredentialsException($error),

0 commit comments

Comments
 (0)