projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Security update for Core, with self-updated composer
[yaffs-website]
/
web
/
core
/
lib
/
Drupal
/
Core
/
Database
/
Connection.php
diff --git
a/web/core/lib/Drupal/Core/Database/Connection.php
b/web/core/lib/Drupal/Core/Database/Connection.php
index 803689b2c4f534654f10b923e37e7d94a770bfc0..100ef6869ca43ede37f0185c934343a1923b8eba 100644
(file)
--- a/
web/core/lib/Drupal/Core/Database/Connection.php
+++ b/
web/core/lib/Drupal/Core/Database/Connection.php
@@
-187,7
+187,7
@@
abstract class Connection {
* @return \PDO
* A \PDO object.
*/
* @return \PDO
* A \PDO object.
*/
- public static function open(array &$connection_options = []) {
}
+ public static function open(array &$connection_options = []) {}
/**
* Destroys this Connection object.
/**
* Destroys this Connection object.
@@
-503,8
+503,9
@@
abstract class Connection {
* A sanitized comment string.
*/
public function makeComment($comments) {
* A sanitized comment string.
*/
public function makeComment($comments) {
- if (empty($comments))
+ if (empty($comments))
{
return '';
return '';
+ }
// Flatten the array of comments.
$comment = implode('. ', $comments);
// Flatten the array of comments.
$comment = implode('. ', $comments);