Security update for Core, with self-updated composer
[yaffs-website] / web / core / lib / Drupal / Core / Database / Connection.php
index 803689b2c4f534654f10b923e37e7d94a770bfc0..100ef6869ca43ede37f0185c934343a1923b8eba 100644 (file)
@@ -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);