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 ec5942a1d0
commit 35204381bb
1 changed files with 1 additions and 1 deletions

View 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);