diff --git a/advanced_search.info.yml b/advanced_search.info.yml index 11e8f24..60807c7 100644 --- a/advanced_search.info.yml +++ b/advanced_search.info.yml @@ -4,7 +4,7 @@ name: 'Advanced Search' description: "Creates an Advanced Search block and other enhancements to search." type: module package: Islandora -core_version_requirement: ^8.8 || ^9 || ^10 +core_version_requirement: ^8.8 || ^9 || ^10 || ^11 dependencies: - drupal:facets - drupal:facets_summary diff --git a/src/EventSubscriber/PostConvertedQueryEventSubscriber.php b/src/EventSubscriber/PostConvertedQueryEventSubscriber.php index 2781c69..f45479b 100644 --- a/src/EventSubscriber/PostConvertedQueryEventSubscriber.php +++ b/src/EventSubscriber/PostConvertedQueryEventSubscriber.php @@ -17,7 +17,7 @@ class PostConvertedQueryEventSubscriber implements EventSubscriberInterface { /** * {@inheritdoc} */ - public static function getSubscribedEvents() { + public static function getSubscribedEvents(): array { $events[SearchAPISolrEvents::POST_CONVERT_QUERY][] = ['alter']; return $events;