dachcom-digital / pimcore-dynamic-search-data-provider-trinity

A Data Fetch Extension for Pimcore Dynamic Search. Crawl Pimcore Data assets, documents and objects.
Other
6 stars 7 forks source link

ObjectRelationGetterExtractor call_user_func call uses the wrong signature #8

Closed ThisIsJustARandomGuy closed 3 years ago

ThisIsJustARandomGuy commented 3 years ago

The brackets are in the wrong place in the following line:

https://github.com/dachcom-digital/pimcore-dynamic-search-data-provider-trinity/blob/a297bf626952a3471addb89617251df77aedf7c0/src/DsTrinityDataBundle/Resource/FieldTransformer/Object/ObjectRelationsGetterExtractor.php#L63

instead it should be

$values[] = call_user_func([$relation, $this->options['method']], $this->options['arguments']);