diff --git a/core/modules/simpletest/src/ContentTypeCreationTrait.php b/core/modules/simpletest/src/ContentTypeCreationTrait.php
index b929893f0a..8184ce513c 100644
--- a/core/modules/simpletest/src/ContentTypeCreationTrait.php
+++ b/core/modules/simpletest/src/ContentTypeCreationTrait.php
@@ -10,7 +10,7 @@
  * This trait is meant to be used only by test classes.
  *
  * @deprecated in Drupal 8.4.x. Will be removed before Drupal 9.0.0. Use
- *   Drupal\Tests\ContentTypeCreationTrait instead.
+ *   \Drupal\Tests\node\Traits\ContentTypeCreationTrait instead.
  *
  * @see https://www.drupal.org/node/2884454
  */
