diff --git a/core/lib/Drupal/Core/Database/Database.php b/core/lib/Drupal/Core/Database/Database.php index 705fbbc..be6ce71 100644 --- a/core/lib/Drupal/Core/Database/Database.php +++ b/core/lib/Drupal/Core/Database/Database.php @@ -191,7 +191,7 @@ * Sets the active connection to the specified key. * * @param string $key - * Database connection key in settings.php which should be set as active + * Database connection key in settings.php which should be set as active. * * @return string|null * The previous database connection key. @@ -360,7 +360,7 @@ * The database target to open. * * @return \Drupal\Core\Database\Connection - * Connection object to perform database queries + * Connection object to perform database queries. * * @throws \Drupal\Core\Database\ConnectionNotDefinedException * @throws \Drupal\Core\Database\DriverNotSpecifiedException diff --git a/core/lib/Drupal/Core/Database/Schema.php b/core/lib/Drupal/Core/Database/Schema.php index 3801254..c7fdef2 100644 --- a/core/lib/Drupal/Core/Database/Schema.php +++ b/core/lib/Drupal/Core/Database/Schema.php @@ -197,7 +197,7 @@ /** * @param \Drupal\Core\Database\Driver\Sqlite\Connection $connection - * SQLite object for DatabaseConnection + * SQLite object for DatabaseConnection. * */ public function __construct($connection) { @@ -206,7 +206,7 @@ public function __construct($connection) { } /** - * Implements the magic __clone function + * Implements the magic __clone function. * * @return string */ @@ -234,8 +234,8 @@ public function nextPlaceholder() { * Get information about the table name and schema from the prefix. * * @param string $table - * Name of table to look prefix up for. Defaults to 'default' because that is the - * default key for prefix. + * Name of table to look prefix up for. Defaults to 'default' because that + * is the default key for prefix. * @param bool $add_prefix * TRUE, if the given table name should be prefixed. FALSE, otherwise. * diff --git a/core/lib/Drupal/Core/Database/Statement.php b/core/lib/Drupal/Core/Database/Statement.php index 5138495..34eb92c 100644 --- a/core/lib/Drupal/Core/Database/Statement.php +++ b/core/lib/Drupal/Core/Database/Statement.php @@ -38,7 +38,7 @@ class Statement extends \PDOStatement implements StatementInterface { /** * @param \Drupal\Core\Database\Connection $dbh - * Connection object to perform database queries + * Connection object to perform database queries. */ protected function __construct(Connection $dbh) { $this->dbh = $dbh; diff --git a/core/lib/Drupal/Core/Database/StatementPrefetch.php b/core/lib/Drupal/Core/Database/StatementPrefetch.php index 597bdd4..1f5cf51 100644 --- a/core/lib/Drupal/Core/Database/StatementPrefetch.php +++ b/core/lib/Drupal/Core/Database/StatementPrefetch.php @@ -137,16 +137,16 @@ class StatementPrefetch implements \Iterator, StatementInterface { /** * @param \PDO $dbh - * Php Database object + * Php Database object. * * @param \Drupal\Core\Database\Connection $connection - * Connection object to perform Database operations + * Connection object to perform Database operations. * * @param string $query - * Query string to fetch data + * Query string to fetch data. * * @param array $driver_options - * Connection Driver specific options + * Connection Driver specific options. */ public function __construct(\PDO $dbh, Connection $connection, $query, array $driver_options = array()) { $this->dbh = $dbh;