Public Access
Fixing deprecation
This commit is contained in:
1 parent
e56ea29018
commit
802413f754
1 file changed
+1
-1
@@ -14,7 +14,7 @@ class SearchableSubscriber implements EventSubscriber
|
||||
{
|
||||
public function __construct(private SearchService $searchService) {}
|
||||
|
||||
public function getSubscribedEvents()
|
||||
public function getSubscribedEvents(): array
|
||||
{
|
||||
return [
|
||||
Events::postPersist,
|
||||
|
||||
Reference in new issue
Block a user