Fixing deprecation

This commit is contained in:
mf committed 2023-01-09 16:07:13 +00:00
1 parent e56ea29018
commit 802413f754
1 file changed
+1 -1
+1 -1
View File
@@ -14,7 +14,7 @@ class SearchableSubscriber implements EventSubscriber
{ {
public function __construct(private SearchService $searchService) {} public function __construct(private SearchService $searchService) {}
public function getSubscribedEvents() public function getSubscribedEvents(): array
{ {
return [ return [
Events::postPersist, Events::postPersist,