diff --git a/src/Symfony/ContainerMeta.php b/src/Symfony/ContainerMeta.php
index 7dfee1d..a7325cf 100644
--- a/src/Symfony/ContainerMeta.php
+++ b/src/Symfony/ContainerMeta.php
@@ -132,7 +132,10 @@ private function init(array $containerXmlPaths): void
}
}
- private function addServiceLocator(string $key, string $id, Reference $reference): void
+ /**
+ * @param array-key $id
+ */
+ private function addServiceLocator(string $key, mixed $id, Reference $reference): void
{
$this->serviceLocators[$key][$id] = (string) $reference;
diff --git a/tests/acceptance/container.xml b/tests/acceptance/container.xml
index 409c7d9..7b34076 100644
--- a/tests/acceptance/container.xml
+++ b/tests/acceptance/container.xml
@@ -84,6 +84,7 @@
+