diff --git a/config_patch.info.yml b/config_patch.info.yml
index 014cf9e8fa23a5b24c88b36c3d6cf05cc0fb7f0d..fbb4f572cbdc1e60e8cfa9f81a365c3890c202ed 100644
--- a/config_patch.info.yml
+++ b/config_patch.info.yml
@@ -1,6 +1,6 @@
 name: 'Config Patch'
 type: module
 description: 'Create patches from configuration diffs'
-core_version_requirement: ^9 || ^10
+core_version_requirement: ^10 || ^11
 package: 'Config'
 configure: config_patch.settings
diff --git a/src/EventSubscriber/ConfigSubscriber.php b/src/EventSubscriber/ConfigSubscriber.php
index fc39c476822f1dd1bcd6f13162b3b2234b52b998..ffba343fc041030b8ed7032658a94b7c1148d23c 100644
--- a/src/EventSubscriber/ConfigSubscriber.php
+++ b/src/EventSubscriber/ConfigSubscriber.php
@@ -41,7 +41,7 @@ class ConfigSubscriber implements EventSubscriberInterface {
   /**
    * {@inheritdoc}
    */
-  public static function getSubscribedEvents() {
+  public static function getSubscribedEvents(): array {
     return [
       ConfigEvents::DELETE => 'onConfigChange',
       ConfigEvents::SAVE => 'onConfigChange',