Merge pull request #26752 from nextcloud/backport/26721/stable21

[stable21] private cannot be final
This commit is contained in:
Roeland Jago Douma 2021-04-26 10:28:53 +02:00 committed by GitHub
commit 49d3fdf0c1
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);