Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
adrum authored Dec 5, 2022
1 parent e45e05b commit 03bf386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ For example, to declare a `color` field in the configuration file, one could do:
'store' => true
],
'highlighter' => (object)[],
'value' => function (\craft\base\ElementInterface $element, \lhs\elasticsearch\record\ElasticsearchRecord $esRecord) {
'value' => function (\craft\base\ElementInterface $element, \lhs\elasticsearch\records\ElasticsearchRecord $esRecord) {
// $esRecord->whatEverMethod();
return ArrayHelper::getValue($element, 'color.hex');
}
Expand Down

0 comments on commit 03bf386

Please sign in to comment.