Skip to content

Commit 6dece2b

Browse files
committed
NGSTACK-836: use getters instead of magic get
1 parent f05386f commit 6dece2b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/Core/Search/Solr/FieldMapper/FullTextFieldResolver/NativeFulltextFieldResolver.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function resolveFields(SPIContent $content, string $languageCode): array
5252
$indexFields = $fieldType->getIndexData($field, $fieldDefinition);
5353

5454
foreach ($indexFields as $indexField) {
55-
if ($indexField->value === null) {
55+
if ($indexField->getValue() === null) {
5656
continue;
5757
}
5858

@@ -62,12 +62,13 @@ public function resolveFields(SPIContent $content, string $languageCode): array
6262

6363
$fields[] = new Field(
6464
'meta_content__text',
65-
(string) $indexField->value,
65+
(string) $indexField->getValue(),
6666
new TextField(),
6767
);
6868
}
6969
}
7070
}
71+
7172
return $fields;
7273
}
7374
}

0 commit comments

Comments
 (0)