Skip to content

Commit 7a360dc

Browse files
committed
[Autocomplete] Remove no longer relevant method
1 parent 03b8a2f commit 7a360dc

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/Autocomplete/src/Form/WrappedEntityTypeAutocompleter.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -114,14 +114,6 @@ public function getValue(object $entity): string
114114
return $this->getEntityMetadata()->getIdValue($entity);
115115
}
116116

117-
public function getResult(object $entity): array
118-
{
119-
return [
120-
'value' => $this->getValue($entity),
121-
'text' => $this->getLabel($entity),
122-
];
123-
}
124-
125117
public function isGranted(Security $security): bool
126118
{
127119
$securityOption = $this->getForm()->getConfig()->getOption('security');

0 commit comments

Comments
 (0)