summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2021-04-26 09:04:18 +0200
committerGitHub <noreply@github.com>2021-04-26 09:04:18 +0200
commitbf9ed2d3cd9a50ad5320b3fb07cbeac7ee4241b6 (patch)
treed40b45d4d5e6c84a6d0f5bae0dfbb41976aef7fb
parent8238abd34a9f5440954e15554667e20eae42c1a8 (diff)
parentbb32880ec413efcc72a11f6c9effb8f6ccc00224 (diff)
downloadnextcloud-server-bf9ed2d3cd9a50ad5320b3fb07cbeac7ee4241b6.tar.gz
nextcloud-server-bf9ed2d3cd9a50ad5320b3fb07cbeac7ee4241b6.zip
Merge pull request #26721 from nextcloud/fix/noid/final-private
private cannot be final
-rw-r--r--lib/private/FullTextSearch/Model/IndexDocument.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/FullTextSearch/Model/IndexDocument.php b/lib/private/FullTextSearch/Model/IndexDocument.php
index 252aa66395a..44bd7a23a1c 100644
--- a/lib/private/FullTextSearch/Model/IndexDocument.php
+++ b/lib/private/FullTextSearch/Model/IndexDocument.php
@@ -722,7 +722,7 @@ class IndexDocument implements IIndexDocument, JsonSerializable {
* @param string $excerpt
* @return string
*/
- final private function cleanExcerpt(string $excerpt): string {
+ private function cleanExcerpt(string $excerpt): string {
$excerpt = str_replace("\\n", ' ', $excerpt);
$excerpt = str_replace("\\r", ' ', $excerpt);
$excerpt = str_replace("\\t", ' ', $excerpt);