diff --git a/core/lib/Drupal/Core/Form/FormErrorHandler.php b/core/lib/Drupal/Core/Form/FormErrorHandler.php index 41b0e87..870fbf0 100644 --- a/core/lib/Drupal/Core/Form/FormErrorHandler.php +++ b/core/lib/Drupal/Core/Form/FormErrorHandler.php @@ -38,7 +38,7 @@ class FormErrorHandler implements FormErrorHandlerInterface { * @param \Drupal\Core\Utility\LinkGeneratorInterface $link_generator * The link generation service. * @param \Drupal\Core\Render\RendererInterface $renderer - * The Renderer service. + * The renderer service. */ public function __construct(TranslationInterface $string_translation, LinkGeneratorInterface $link_generator, RendererInterface $renderer) { $this->stringTranslation = $string_translation; diff --git a/core/tests/Drupal/Tests/Core/Form/FormErrorHandlerTest.php b/core/tests/Drupal/Tests/Core/Form/FormErrorHandlerTest.php index 4d2219d..cd8e3b2 100644 --- a/core/tests/Drupal/Tests/Core/Form/FormErrorHandlerTest.php +++ b/core/tests/Drupal/Tests/Core/Form/FormErrorHandlerTest.php @@ -50,7 +50,6 @@ public function testDisplayErrorMessages() { return $render_array[0]['#markup'] . '' . implode(array_map('htmlspecialchars', $render_array[1]['#items']), '') . ''; })); - $form = [ '#parents' => [], ];