Use elseif, not else if

Small fix
This commit is contained in:
Côme Chilliet 2022-12-20 10:31:20 +01:00 committed by GitHub
commit 72e369f743
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,7 +65,7 @@ class System implements ISystem {
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;