Skip to content

Commit 1f79a71

Browse files
committed
re-adding method_exists
1 parent 4a08830 commit 1f79a71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Autocomplete/src/AutocompleteResultsExecutor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function fetchResults(EntityAutocompleterInterface $autocompleter, string
7171

7272
$results = [];
7373

74-
if (null === $groupBy = $autocompleter->getGroupBy()) {
74+
if (!method_exists($autocompleter, 'getGroupBy') || null === $groupBy = $autocompleter->getGroupBy()) {
7575
foreach ($paginator as $entity) {
7676
$results[] = [
7777
'value' => $autocompleter->getValue($entity),

0 commit comments

Comments
 (0)