Skip to content

Commit

Permalink
Remove error message from determining failures
Browse files Browse the repository at this point in the history
Closes #575
  • Loading branch information
stevebauman committed Sep 22, 2023
1 parent 9613f59 commit cb671ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LdapResultResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function __construct(
*/
public function successful(): bool
{
return $this->errorCode === 0 && empty($this->errorMessage);
return $this->errorCode === 0;
}

/**
Expand Down

0 comments on commit cb671ac

Please sign in to comment.