diff --git a/core/lib/Drupal/Core/Entity/EntityDisplayBase.php b/core/lib/Drupal/Core/Entity/EntityDisplayBase.php index e1a5e86..e58fed6 100644 --- a/core/lib/Drupal/Core/Entity/EntityDisplayBase.php +++ b/core/lib/Drupal/Core/Entity/EntityDisplayBase.php @@ -473,9 +473,9 @@ public function onDependencyRemoval(array $dependencies) { * removed dependencies. * * Note: - * 1. The two arguments have not the same structure. - * 2. $removed_dependencies has already sane defaults. All the types of events - * are filled in, even with empty arrays. + * 1. The two arguments don't have the same structure. + * 2. $removed_dependencies has already sane defaults. All the types of + * dependencies are filled in, even with empty arrays. * * @param array[] $plugin_dependencies * A list of dependencies having the same structure as the return value of @@ -485,7 +485,7 @@ public function onDependencyRemoval(array $dependencies) { * ConfigEntityInterface::onDependencyRemoval(). * * @return bool - * TRUE if there are unresolved dependencies in $dependencies1. + * TRUE if there are unresolved dependencies in $plugin_dependencies. * * @see \Drupal\Core\Config\Entity\ConfigEntityInterface::calculateDependencies() * @see \Drupal\Core\Config\Entity\ConfigEntityInterface::onDependencyRemoval()