aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/FullTextSearch/Model
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/FullTextSearch/Model')
-rw-r--r--lib/private/FullTextSearch/Model/IndexDocument.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/FullTextSearch/Model/IndexDocument.php b/lib/private/FullTextSearch/Model/IndexDocument.php
index 8bd20bad1e0..a51447393ed 100644
--- a/lib/private/FullTextSearch/Model/IndexDocument.php
+++ b/lib/private/FullTextSearch/Model/IndexDocument.php
@@ -512,8 +512,8 @@ class IndexDocument implements IIndexDocument, JsonSerializable {
* @since 16.0.0
*/
final public function addExcerpt(string $source, string $excerpt): IIndexDocument {
- $this->excerpts[] =
- [
+ $this->excerpts[]
+ = [
'source' => $source,
'excerpt' => $this->cleanExcerpt($excerpt)
];