Merge pull request #26753 from nextcloud/backport/26721/stable20

[stable20] private cannot be final
This commit is contained in:
Roeland Jago Douma 2021-04-26 10:28:43 +02:00 committed by GitHub
commit 0cb66c5ca0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);