Fixing deprecation
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user