make linter happy

This commit is contained in:
Sarah Hoffmann
2021-03-11 21:14:23 +01:00
parent 3933fc3ad3
commit 3fbe4511f9

View File

@@ -268,7 +268,7 @@ class SearchDescription
$iOp = Operator::NEAR;
}
$oSearch->iSearchRank += 2;
} else if (!$bFirstToken && !$bLastToken) {
} elseif (!$bFirstToken && !$bLastToken) {
$oSearch->iSearchRank += 2;
}
if ($this->sHouseNumber) {
@@ -297,7 +297,7 @@ class SearchDescription
$oSearch->aAddress[$iWordID] = $iWordID;
$aNewSearches[] = $oSearch;
}
} else if (empty($this->aNameNonSearch)) {
} elseif (empty($this->aNameNonSearch)) {
$oSearch = clone $this;
$oSearch->iSearchRank++;
$oSearch->aName = array($iWordID => $iWordID);