diff --git a/core/includes/Drupal/Database/Connection.php b/core/includes/Drupal/Database/Connection.php index afe75276b1b..cfd091c3fd7 100644 --- a/core/includes/Drupal/Database/Connection.php +++ b/core/includes/Drupal/Database/Connection.php @@ -3,6 +3,7 @@ namespace Drupal\Database; use PDO; +use PDOException; /** * Base Database API class. diff --git a/core/includes/Drupal/Database/DatabaseStatementPrefetch.php b/core/includes/Drupal/Database/DatabaseStatementPrefetch.php index 5c0419aa0cc..a17b6ef117d 100644 --- a/core/includes/Drupal/Database/DatabaseStatementPrefetch.php +++ b/core/includes/Drupal/Database/DatabaseStatementPrefetch.php @@ -5,6 +5,7 @@ namespace Drupal\Database; use Drupal\Database\Connection; use Iterator; use PDO; +use PDOException; /** * An implementation of DatabaseStatementInterface that prefetches all data.