Merge pull request #26752 from nextcloud/backport/26721/stable21
[stable21] private cannot be final
This commit is contained in:
commit
49d3fdf0c1
|
@ -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