From 2a97871d285dcd2e0b4ad211fb68dfa4fd1c52ec Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Wed, 24 Jul 2024 14:29:32 +0200 Subject: [PATCH] Unwrap curly braces --- .../framework/src/Foundation/Internal/LoadYamlConfiguration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/framework/src/Foundation/Internal/LoadYamlConfiguration.php b/packages/framework/src/Foundation/Internal/LoadYamlConfiguration.php index 1a39dc46948..7a0e07e9d03 100644 --- a/packages/framework/src/Foundation/Internal/LoadYamlConfiguration.php +++ b/packages/framework/src/Foundation/Internal/LoadYamlConfiguration.php @@ -95,7 +95,7 @@ protected function parseFeatures(array $features): array $case = Feature::fromName($name); if (! $case) { - throw new InvalidConfigurationException("Invalid feature '{$feature}' specified in the YAML config file. (Feature::{$name} does not exist)"); + throw new InvalidConfigurationException("Invalid feature '$feature' specified in the YAML config file. (Feature::$name does not exist)"); } return $case;