diff --git a/core/lib/Drupal/Core/Extension/ModuleInstaller.php b/core/lib/Drupal/Core/Extension/ModuleInstaller.php index 16e576d..c6f3921 100644 --- a/core/lib/Drupal/Core/Extension/ModuleInstaller.php +++ b/core/lib/Drupal/Core/Extension/ModuleInstaller.php @@ -320,7 +320,7 @@ public function uninstall(array $module_list, $uninstall_dependents = TRUE) { } } - // Use the validators and throw an exception with the reasons + // Use the validators and throw an exception with the reasons. if ($reasons = $this->validateUninstall($module_list)) { foreach ($reasons as $reason) { $reason_message[] = implode(', ', $reason); diff --git a/core/lib/Drupal/Core/Extension/ModuleUninstallValidatorException.php b/core/lib/Drupal/Core/Extension/ModuleUninstallValidatorException.php index ba41cd3..c28240e 100644 --- a/core/lib/Drupal/Core/Extension/ModuleUninstallValidatorException.php +++ b/core/lib/Drupal/Core/Extension/ModuleUninstallValidatorException.php @@ -7,5 +7,7 @@ namespace Drupal\Core\Extension; - +/** + * Defines an exception thrown when uninstalling a module that did not validate. + */ class ModuleUninstallValidatorException extends \InvalidArgumentException { }