diff --git a/core/lib/Drupal/Core/Update/UpdateServiceProvider.php b/core/lib/Drupal/Core/Update/UpdateServiceProvider.php index f1114f5551..4e647fdc18 100644 --- a/core/lib/Drupal/Core/Update/UpdateServiceProvider.php +++ b/core/lib/Drupal/Core/Update/UpdateServiceProvider.php @@ -35,8 +35,9 @@ public function alter(ContainerBuilder $container) { $definition->replaceArgument(0, $argument); // Loop over the defined services and remove any with unmet dependencies. - // The kernel cannot be booted if the container such services. This allows - // modules to run their update hooks to enable newly added dependencies. + // The kernel cannot be booted if the container has such services. This + // allows modules to run their update hooks to enable newly added + // dependencies. do { $definitions = $container->getDefinitions(); foreach ($definitions as $key => $definition) {