From acd475c7b0b505f25aa1d50b05ccafacebb9d362 Mon Sep 17 00:00:00 2001
From: catch <6915-catch@users.noreply.drupalcode.org>
Date: Fri, 19 Jul 2024 23:10:54 +0900
Subject: [PATCH] Issue #3460921 by quietone: Fix hook_update_N docs for
 display of code block, remove unnecessary @see

(cherry picked from commit a7e865b9bb1af2788b8b0d5860c920bcadfd1af4)
---
 core/lib/Drupal/Core/Extension/module.api.php | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/core/lib/Drupal/Core/Extension/module.api.php b/core/lib/Drupal/Core/Extension/module.api.php
index 7f1185358242..9b62c48a99e6 100644
--- a/core/lib/Drupal/Core/Extension/module.api.php
+++ b/core/lib/Drupal/Core/Extension/module.api.php
@@ -542,8 +542,6 @@ function hook_install_tasks_alter(&$tasks, $install_state) {
  *
  * The number (N) must be higher than hook_update_last_removed().
  *
- * @see hook_update_last_removed()
- *
  * The numbers are normally composed of three parts:
  * - 1 or 2 digits for Drupal core compatibility (Drupal 8, 9, 10, etc.). This
  *   convention must be followed. If your module is compatible with multiple
@@ -741,7 +739,7 @@ function hook_install_tasks_alter(&$tasks, $install_state) {
  *
  *   // The rest of the update function.
  * }
- * @encode
+ * @endcode
  *
  * @param array $sandbox
  *   Stores information for batch updates. See above for more information.
-- 
GitLab