private cannot be final

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
This commit is contained in:
Maxence Lange 2021-04-23 11:00:10 -01:00 committed by backportbot[bot]
parent 07b94975d4
commit 0145fd0b5c
1 changed files with 1 additions and 1 deletions

View File

@ -722,7 +722,7 @@ class IndexDocument implements IIndexDocument, JsonSerializable {
* @param string $excerpt * @param string $excerpt
* @return string * @return string
*/ */
final private function cleanExcerpt(string $excerpt): string { private function cleanExcerpt(string $excerpt): string {
$excerpt = str_replace("\\n", ' ', $excerpt); $excerpt = str_replace("\\n", ' ', $excerpt);
$excerpt = str_replace("\\r", ' ', $excerpt); $excerpt = str_replace("\\r", ' ', $excerpt);
$excerpt = str_replace("\\t", ' ', $excerpt); $excerpt = str_replace("\\t", ' ', $excerpt);