Skip to content

Commit b80893c

Browse files
committed
[Autocomplete] Removing excess deprecation warning
1 parent f99cc2a commit b80893c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Autocomplete/src/AutocompleteResultsExecutor.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,7 @@ public function fetchResults(EntityAutocompleterInterface $autocompleter, string
7171

7272
$results = [];
7373

74-
if (!method_exists($autocompleter, 'getGroupBy')) {
75-
trigger_deprecation('symfony/ux-autocomplete', '2.8', 'Not implementing the "EntityAutocompleterInterface::getGroupBy()" in "%s" is deprecated.', get_debug_type($autocompleter));
76-
} elseif (null === $groupBy = $autocompleter->getGroupBy()) {
74+
if (null === $groupBy = $autocompleter->getGroupBy()) {
7775
foreach ($paginator as $entity) {
7876
$results[] = [
7977
'value' => $autocompleter->getValue($entity),

0 commit comments

Comments
 (0)