diff --git a/core/modules/config/lib/Drupal/config/Tests/ConfigSchemaTestBase.php b/core/modules/config/lib/Drupal/config/Tests/ConfigSchemaTestBase.php index dfde454..7a43f0a 100644 --- a/core/modules/config/lib/Drupal/config/Tests/ConfigSchemaTestBase.php +++ b/core/modules/config/lib/Drupal/config/Tests/ConfigSchemaTestBase.php @@ -39,7 +39,7 @@ protected $configName; /** - * Global state for whether the config passed for a name. + * Global state for whether the config has a valid schema. * * @var boolean */ @@ -131,7 +131,7 @@ protected function checkValue($key, $value) { try { $element = $this->schema->get($key); if (!$element instanceof ArrayElement) { - $this->fail("{$this->configName}:$key is not defined as an array type (eg. mapping or sequence) but is not a scalar value."); + $this->fail("Non-scalar {$this->configName}:$key is not defined as an array type (such as mapping or sequence)."); } } catch (SchemaIncompleteException $e) {