Merge pull request #26721 from nextcloud/fix/noid/final-private
private cannot be final
This commit is contained in:
commit
bf9ed2d3cd
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue