Merge pull request #26753 from nextcloud/backport/26721/stable20
[stable20] private cannot be final
This commit is contained in:
commit
0cb66c5ca0
|
@ -722,7 +722,7 @@ class IndexDocument implements IIndexDocument, JsonSerializable {
|
||||||
* @param string $excerpt
|
* @param string $excerpt
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
final private function cleanExcerpt(string $excerpt): string {
|
private function cleanExcerpt(string $excerpt): string {
|
||||||
$excerpt = str_replace("\\n", ' ', $excerpt);
|
$excerpt = str_replace("\\n", ' ', $excerpt);
|
||||||
$excerpt = str_replace("\\r", ' ', $excerpt);
|
$excerpt = str_replace("\\r", ' ', $excerpt);
|
||||||
$excerpt = str_replace("\\t", ' ', $excerpt);
|
$excerpt = str_replace("\\t", ' ', $excerpt);
|
||||||
|
|
Loading…
Reference in New Issue