]> source.dussan.org Git - nextcloud-server.git/commitdiff
private cannot be final 26753/head
authorMaxence Lange <maxence@artificial-owl.com>
Fri, 23 Apr 2021 12:00:10 +0000 (11:00 -0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Mon, 26 Apr 2021 07:08:14 +0000 (07:08 +0000)
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
lib/private/FullTextSearch/Model/IndexDocument.php

index 252aa66395a148643064a0279a51f09cb6d5bce7..44bd7a23a1cc8ba934cf23d9455979d9d8740fe8 100644 (file)
@@ -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);