Skip to content

Commit

Permalink
Merge pull request #122 from come-nc/patch-1
Browse files Browse the repository at this point in the history
Use elseif, not else if
  • Loading branch information
icewind1991 authored Jun 20, 2024
2 parents faf5056 + 72e369f commit 15479bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/System.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ protected function getBinaryPath(string $binary): ?string {

if ($result === 0 && isset($output[0])) {
$this->paths[$binary] = (string)$output[0];
} else if (is_executable("/usr/bin/$binary")) {
} elseif (is_executable("/usr/bin/$binary")) {
$this->paths[$binary] = "/usr/bin/$binary";
} else {
$this->paths[$binary] = null;
Expand Down

0 comments on commit 15479bd

Please sign in to comment.