Skip to content

Commit 8d8d560

Browse files
committed
Rename extractDiagnosticCode to getDiagnosticCode
1 parent 3ae3cb3 commit 8d8d560

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Ldap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,13 +435,13 @@ public function getExtendedErrorHex(): ?string
435435
*/
436436
public function getExtendedErrorCode(): string|false
437437
{
438-
return $this->extractDiagnosticCode($this->getExtendedError());
438+
return $this->getDiagnosticCode($this->getExtendedError());
439439
}
440440

441441
/**
442442
* Extract the diagnostic code from the message.
443443
*/
444-
public function extractDiagnosticCode(string $message): string|false
444+
public function getDiagnosticCode(string $message): string|false
445445
{
446446
preg_match('/^([\da-fA-F]+):/', $message, $matches);
447447

0 commit comments

Comments
 (0)