Maintenance: Fixed type issue, updated translator list

This commit is contained in:
Dan Brown
2025-11-19 14:38:35 +00:00
parent b2f81f5c62
commit 47f12cc8f6
3 changed files with 3 additions and 2 deletions

View File

@@ -126,7 +126,7 @@ class SearchIndex
$termMap = $this->textToTermCountMap($text);
foreach ($termMap as $term => $count) {
$termMap[$term] = floor($count * $scoreAdjustment);
$termMap[$term] = intval($count * $scoreAdjustment);
}
return $termMap;