diff --git a/core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php b/core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php index d1bac8c24e..dfac0158b7 100644 --- a/core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php +++ b/core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php @@ -157,8 +157,8 @@ protected function connect() { } } else { - // Database connection failed for some other reason than the database - // non-existent. + // Database connection failed for some other reason than a non-existent + // database. $this->fail(t('Failed to connect to your database server. The server reports the following message: %error.', ['%error' => $e->getMessage()])); return FALSE; } diff --git a/core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php b/core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php index 301a5f0093..1c07dfaf38 100644 --- a/core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php +++ b/core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php @@ -107,8 +107,8 @@ protected function connect() { } } else { - // Database connection failed for some other reason than the database - // non-existent. + // Database connection failed for some other reason than a non-existent + // database. $this->fail(t('Failed to connect to your database server. The server reports the following message: %error.', ['%error' => $e->getMessage()])); return FALSE; } diff --git a/core/lib/Drupal/Core/Database/Driver/sqlite/Install/Tasks.php b/core/lib/Drupal/Core/Database/Driver/sqlite/Install/Tasks.php index 36f86e380d..1acb119417 100644 --- a/core/lib/Drupal/Core/Database/Driver/sqlite/Install/Tasks.php +++ b/core/lib/Drupal/Core/Database/Driver/sqlite/Install/Tasks.php @@ -103,8 +103,8 @@ protected function connect() { } } else { - // Database connection failed for some other reason than the database - // non-existent. + // Database connection failed for some other reason than a non-existent + // database. $this->fail(t('Failed to connect to database. The database engine reports the following message: %error.', ['%error' => $e->getMessage()])); return FALSE; }