From e9f776911131c6afa946386de54c1faeded873f6 Mon Sep 17 00:00:00 2001 From: Arek Bochinski Date: Thu, 16 Jul 2020 08:17:31 -0400 Subject: [PATCH] Use hexadecimal numerals instead of hexadecimals in strings to represent error codes. --- src/Symfony/Component/Ldap/Adapter/ExtLdap/Connection.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Symfony/Component/Ldap/Adapter/ExtLdap/Connection.php b/src/Symfony/Component/Ldap/Adapter/ExtLdap/Connection.php index b25a6eb447..65fef964a4 100644 --- a/src/Symfony/Component/Ldap/Adapter/ExtLdap/Connection.php +++ b/src/Symfony/Component/Ldap/Adapter/ExtLdap/Connection.php @@ -25,9 +25,9 @@ use Symfony\Component\OptionsResolver\OptionsResolver; */ class Connection extends AbstractConnection { - private const LDAP_INVALID_CREDENTIALS = '0x31'; - private const LDAP_TIMEOUT = '0x55'; - private const LDAP_ALREADY_EXISTS = '0x44'; + private const LDAP_INVALID_CREDENTIALS = 0x31; + private const LDAP_TIMEOUT = 0x55; + private const LDAP_ALREADY_EXISTS = 0x44; /** @var bool */ private $bound = false;