X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Flib%2FDrupal%2FCore%2FDatabase%2FConnection.php;h=100ef6869ca43ede37f0185c934343a1923b8eba;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=803689b2c4f534654f10b923e37e7d94a770bfc0;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/lib/Drupal/Core/Database/Connection.php b/web/core/lib/Drupal/Core/Database/Connection.php index 803689b2c..100ef6869 100644 --- 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. */ - public static function open(array &$connection_options = []) { } + public static function open(array &$connection_options = []) {} /** * Destroys this Connection object. @@ -503,8 +503,9 @@ abstract class Connection { * A sanitized comment string. */ public function makeComment($comments) { - if (empty($comments)) + if (empty($comments)) { return ''; + } // Flatten the array of comments. $comment = implode('. ', $comments);