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