From 78ec304cc5faf6b945be305acc4ecb0194591ba5 Mon Sep 17 00:00:00 2001
From: Dave Long <24510-longwave@users.noreply.drupalcode.org>
Date: Fri, 3 Jan 2025 22:29:04 +0000
Subject: [PATCH] Issue #3497241 by longwave, jurgenhaas:
 FormValidatorInterface::validateForm has wrong type for $form_id

---
 core/lib/Drupal/Core/Form/FormValidatorInterface.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/lib/Drupal/Core/Form/FormValidatorInterface.php b/core/lib/Drupal/Core/Form/FormValidatorInterface.php
index bf7632bd4fc1..13def56d729a 100644
--- a/core/lib/Drupal/Core/Form/FormValidatorInterface.php
+++ b/core/lib/Drupal/Core/Form/FormValidatorInterface.php
@@ -25,7 +25,7 @@ public function executeValidateHandlers(&$form, FormStateInterface &$form_state)
   /**
    * Validates user-submitted form data in the $form_state.
    *
-   * @param array $form_id
+   * @param string $form_id
    *   A unique string identifying the form for validation, submission,
    *   theming, and hook_form_alter functions.
    * @param array $form
-- 
GitLab