diff --git a/core/lib/Drupal/Core/Entity/DependencyTrait.php b/core/lib/Drupal/Core/Entity/DependencyTrait.php
index e018ba4..307345d 100644
--- a/core/lib/Drupal/Core/Entity/DependencyTrait.php
+++ b/core/lib/Drupal/Core/Entity/DependencyTrait.php
@@ -23,10 +23,10 @@ trait DependencyTrait {
    * Adds a dependency.
    *
    * @param string $type
-   *   The type of dependency being added: 'module', 'theme', or 'config' and 'content'.
+   *   Type of dependency being added: 'module', 'theme', 'config', 'content'.
    * @param string $name
    *   If $type is 'module' or 'theme', the name of the module or theme. If
-   *   $type is 'config' and 'content', the full configuration object name.
+   *   $type is 'config' or 'content', the full configuration object name.
    *
    * @see \Drupal\Core\Entity\EntityInterface::getConfigDependencyName()
    *
