Test Failed
Push — master ( 0381fe...30a29a )
by Federico
02:04
created
dist/jate/modules/Connection/Adapters/ConnectionPostgresqlAdapter.php 1 patch
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,16 +17,18 @@
 block discarded – undo
17 17
       public function queryFetch( $_query ) {
18 18
         $result = $this->stdQuery($_query);
19 19
         $rows = [];
20
-        while($row = pg_fetch_assoc($result))
21
-          $rows[] = $row;
20
+        while($row = pg_fetch_assoc($result)) {
21
+                  $rows[] = $row;
22
+        }
22 23
         pg_free_result($result);
23 24
         return $rows;
24 25
       }
25 26
       public function queryArray( $_query ) {
26 27
         $result = $this->stdQuery($_query);
27 28
         $rows = [];
28
-        while($row = pg_fetch_array($result))
29
-          $rows[] = $row;
29
+        while($row = pg_fetch_array($result)) {
30
+                  $rows[] = $row;
31
+        }
30 32
         pg_free_result($result);
31 33
         return $rows;
32 34
       }
Please login to merge, or discard this patch.