From ff28da47869feb23a2f90aadb956fa14889d5540 Mon Sep 17 00:00:00 2001 From: Andrew Longosz Date: Thu, 14 Nov 2024 12:54:19 +0100 Subject: [PATCH] Improved NotificationsConfigParser code quality --- .../Configuration/Parser/NotificationsConfigParser.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bundle/DependencyInjection/Configuration/Parser/NotificationsConfigParser.php b/src/bundle/DependencyInjection/Configuration/Parser/NotificationsConfigParser.php index 6ade1dd..c48e836 100644 --- a/src/bundle/DependencyInjection/Configuration/Parser/NotificationsConfigParser.php +++ b/src/bundle/DependencyInjection/Configuration/Parser/NotificationsConfigParser.php @@ -14,7 +14,8 @@ final class NotificationsConfigParser extends AbstractParser { - public const MAPPED_SETTINGS = ['subscriptions']; + /** @phpstan-var list */ + public const array MAPPED_SETTINGS = ['subscriptions']; public function addSemanticConfig(NodeBuilder $nodeBuilder): void {