From 8fe47c37c850d7e623b8cf7437ae8753c47b2896 Mon Sep 17 00:00:00 2001 From: Stephane DECOCK Date: Mon, 3 Apr 2023 10:15:54 +0200 Subject: [PATCH 1/2] Fix compatibility type for Symfony 6.x It is expecting array|string --- src/DependencyInjection/Configuration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php index 235023b6..764b38c9 100644 --- a/src/DependencyInjection/Configuration.php +++ b/src/DependencyInjection/Configuration.php @@ -43,7 +43,7 @@ public function getConfigTreeBuilder(): TreeBuilder ->info('The length of the generated gift card code') ->min(1) ->max(255) - ->example(16) + ->example('16') ; $this->addResourcesSection($rootNode); From 53cc123bd1d87817b244af7363d3a946a46f1c61 Mon Sep 17 00:00:00 2001 From: Stephane DECOCK Date: Mon, 3 Apr 2023 10:17:37 +0200 Subject: [PATCH 2/2] Update Configuration.php --- src/DependencyInjection/Configuration.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php index 764b38c9..2431aaf0 100644 --- a/src/DependencyInjection/Configuration.php +++ b/src/DependencyInjection/Configuration.php @@ -43,7 +43,6 @@ public function getConfigTreeBuilder(): TreeBuilder ->info('The length of the generated gift card code') ->min(1) ->max(255) - ->example('16') ; $this->addResourcesSection($rootNode);