Skip to content

Commit 47f12cc

Browse files
committed
Maintenance: Fixed type issue, updated translator list
1 parent b2f81f5 commit 47f12cc

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/translators.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,3 +511,4 @@ MrCharlesIII :: Arabic
511511
David Olsen (dawin) :: Danish
512512
ltnzr :: French
513513
Frank Holler (holler.frank) :: German; German Informal
514+
Korab Arifi (korabidev) :: Albanian

app/Search/SearchIndex.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ protected function generateTermScoreMapFromText(string $text, float $scoreAdjust
126126
$termMap = $this->textToTermCountMap($text);
127127

128128
foreach ($termMap as $term => $count) {
129-
$termMap[$term] = floor($count * $scoreAdjustment);
129+
$termMap[$term] = intval($count * $scoreAdjustment);
130130
}
131131

132132
return $termMap;

dev/licensing/php-library-licenses.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Link: http://aws.amazon.com/sdkforphp
1313
bacon/bacon-qr-code
1414
License: BSD-2-Clause
1515
License File: vendor/bacon/bacon-qr-code/LICENSE
16-
Copyright: Copyright (c) 2017, Ben Scholzen 'DASPRiD'
16+
Copyright: Copyright (c) 2017-present, Ben Scholzen 'DASPRiD'
1717
All rights reserved.
1818
Source: https://github.com/Bacon/BaconQrCode.git
1919
Link: https://github.com/Bacon/BaconQrCode

0 commit comments

Comments
 (0)