From 47f12cc8f6830a8e20b3c3d8efad40d7c689a217 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Wed, 19 Nov 2025 14:38:35 +0000 Subject: [PATCH] Maintenance: Fixed type issue, updated translator list --- .github/translators.txt | 1 + app/Search/SearchIndex.php | 2 +- dev/licensing/php-library-licenses.txt | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) 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