Completed
Push — master ( e0dd35...f294bb )
by Markus
08:06 queued 57s
created
lib/CustomColumnTypeComment.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,9 @@
 block discarded – undo
55 55
     public function getDescription()
56 56
     {
57 57
         $desc = $this->getDatabaseDescription();
58
-        if ($desc === NULL || empty($desc)) $desc = str_format(localize("customcolumn.description"), $this->getTitle());
58
+        if ($desc === NULL || empty($desc)) {
59
+            $desc = str_format(localize("customcolumn.description"), $this->getTitle());
60
+        }
59 61
         return $desc;
60 62
     }
61 63
 
Please login to merge, or discard this patch.
lib/CustomColumnTypeFloat.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,9 @@
 block discarded – undo
55 55
     public function getDescription()
56 56
     {
57 57
         $desc = $this->getDatabaseDescription();
58
-        if ($desc === NULL || empty($desc)) $desc = str_format(localize("customcolumn.description"), $this->getTitle());
58
+        if ($desc === NULL || empty($desc)) {
59
+            $desc = str_format(localize("customcolumn.description"), $this->getTitle());
60
+        }
59 61
         return $desc;
60 62
     }
61 63
 
Please login to merge, or discard this patch.
lib/CustomColumnTypeDate.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,9 @@
 block discarded – undo
55 55
     public function getDescription()
56 56
     {
57 57
         $desc = $this->getDatabaseDescription();
58
-        if ($desc === NULL || empty($desc)) $desc = str_format(localize("customcolumn.description"), $this->getTitle());
58
+        if ($desc === NULL || empty($desc)) {
59
+            $desc = str_format(localize("customcolumn.description"), $this->getTitle());
60
+        }
59 61
         return $desc;
60 62
     }
61 63
 
Please login to merge, or discard this patch.
lib/Base.php 1 patch
Braces   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -80,7 +80,9 @@  discard block
 block discarded – undo
80 80
     {
81 81
         global $config;
82 82
         if (self::isMultipleDatabaseEnabled()) {
83
-            if (is_null($database)) $database = GetUrlParam(DB, 0);
83
+            if (is_null($database)) {
84
+                $database = GetUrlParam(DB, 0);
85
+            }
84 86
             if (!is_null($database) && !preg_match('/^\d+$/', $database)) {
85 87
                 self::error($database);
86 88
             }
@@ -94,7 +96,9 @@  discard block
 block discarded – undo
94 96
     {
95 97
         global $config;
96 98
         if (self::isMultipleDatabaseEnabled()) {
97
-            if (is_null($database)) $database = GetUrlParam(DB, 0);
99
+            if (is_null($database)) {
100
+                $database = GetUrlParam(DB, 0);
101
+            }
98 102
             if (!is_null($database) && !preg_match('/^\d+$/', $database)) {
99 103
                 self::error($database);
100 104
             }
@@ -180,8 +184,7 @@  discard block
 block discarded – undo
180 184
 
181 185
         list (, $result) = self::executeQuery($query, $columns, '', $params, -1);
182 186
         $entryArray = array();
183
-        while ($post = $result->fetchObject())
184
-        {
187
+        while ($post = $result->fetchObject()) {
185 188
             /* @var $instance Author|Tag|Serie|Publisher */
186 189
 
187 190
             $instance = new $category($post);
Please login to merge, or discard this patch.