Merge pull request #26721 from nextcloud/fix/noid/final-private

private cannot be final
This commit is contained in:
Roeland Jago Douma 2021-04-26 09:04:18 +02:00 committed by GitHub
commit bf9ed2d3cd
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);