From 35204381bb4d5133aeee52b20767f0be2daecc40 Mon Sep 17 00:00:00 2001 From: Maxence Lange Date: Fri, 23 Apr 2021 11:00:10 -0100 Subject: [PATCH] private cannot be final Signed-off-by: Maxence Lange --- lib/private/FullTextSearch/Model/IndexDocument.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/FullTextSearch/Model/IndexDocument.php b/lib/private/FullTextSearch/Model/IndexDocument.php index 252aa66395..44bd7a23a1 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);