Skip to content

NOW MANAGED ON CODEBERG

Maintenance: Fixed type issue, updated translator list

Dan Brown47f12cc8f683
diff --git a/.github/translators.txt b/.github/translators.txt
index 0f3bf18fc..67eea4874 100644
--- a/.github/translators.txt
+++ b/.github/translators.txt
@@ -511,3 +511,4 @@ MrCharlesIII :: Arabic
David Olsen (dawin) :: Danish
ltnzr :: French
Frank Holler (holler.frank) :: German; German Informal
+Korab Arifi (korabidev) :: Albanian
diff --git a/app/Search/SearchIndex.php b/app/Search/SearchIndex.php
index 117d069ea..ce78831ee 100644
--- a/app/Search/SearchIndex.php
+++ b/app/Search/SearchIndex.php
@@ -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;
diff --git a/dev/licensing/php-library-licenses.txt b/dev/licensing/php-library-licenses.txt
index 090b243d8..276f39230 100644
--- a/dev/licensing/php-library-licenses.txt
+++ b/dev/licensing/php-library-licenses.txt
@@ -13,7 +13,7 @@ Link: http://aws.amazon.com/sdkforphp
bacon/bacon-qr-code
License: BSD-2-Clause
License File: vendor/bacon/bacon-qr-code/LICENSE
-Copyright: Copyright (c) 2017, Ben Scholzen 'DASPRiD'
+Copyright: Copyright (c) 2017-present, Ben Scholzen 'DASPRiD'
All rights reserved.
Source: https://github.com/Bacon/BaconQrCode.git
Link: https://github.com/Bacon/BaconQrCode