diff --git a/core/lib/Drupal/Core/Extension/module.api.php b/core/lib/Drupal/Core/Extension/module.api.php
index 7f1185358242d0bb0d0147a22db1d5680d1cbbe6..9b62c48a99e66cfab04aa9163fa49c070747c8b2 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.