Skip to content

Commit

Permalink
make use of the constant
Browse files Browse the repository at this point in the history
  • Loading branch information
grummbeer committed Dec 10, 2023
1 parent 91a4606 commit 605f8b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/ListUsersCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function execute(): ?DOMDocument

$result = $this->getShellCommandExecutor()->execute($shellCommand);

if (4 === $result->getReturnVar()) {
if (self::RETURN_VAR_NOT_FOUND === $result->getReturnVar()) {
return null;
}

Expand Down

0 comments on commit 605f8b4

Please sign in to comment.