diff --git a/core/lib/Drupal/Core/Command/GenerateTheme.php b/core/lib/Drupal/Core/Command/GenerateTheme.php
index 121775fdda33cb51c2e06f5e8f5fe13d2bf02654..89540768d28dd25fe8966996535f0602cf5d765c 100644
--- a/core/lib/Drupal/Core/Command/GenerateTheme.php
+++ b/core/lib/Drupal/Core/Command/GenerateTheme.php
@@ -37,7 +37,12 @@ class GenerateTheme extends Command {
   private $root;
 
   /**
-   * {@inheritdoc}
+   * GenerateTheme constructor.
+   *
+   * @param string|null $name
+   *   The name of the command; passing null means it must be set in configure().
+   * @param string|null $root
+   *   The path for the Drupal root.
    */
   public function __construct(?string $name = NULL, ?string $root = NULL) {
     parent::__construct($name);