Completed
Push — master ( ae2c6b...b239c1 )
by Kris
18s queued 12s
created
lib/Query/Select.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
                 case 'sub_query':
106 106
                     $colsList[] = '('. $val['query']->sql() .') AS '. $this->escape($val['alias']);
107 107
                     break;
108
-           }
108
+            }
109 109
         }
110 110
         return $sqlDistinct . implode(', ', $colsList);
111 111
     }
@@ -153,15 +153,15 @@  discard block
 block discarded – undo
153 153
         }
154 154
 
155 155
         return trim(implode(' ', ['SELECT', 
156
-           $this->sqlColumns(), 
157
-           $sqlFromTable,
158
-           $sqlJoins,
159
-           $sqlWhere,
160
-           $sqlGroupBy,
161
-           $sqlHaving,
162
-           $sqlOrderBy,
163
-           $sqlLimit,
164
-           $sqlOffset]));
156
+            $this->sqlColumns(), 
157
+            $sqlFromTable,
158
+            $sqlJoins,
159
+            $sqlWhere,
160
+            $sqlGroupBy,
161
+            $sqlHaving,
162
+            $sqlOrderBy,
163
+            $sqlLimit,
164
+            $sqlOffset]));
165 165
     }
166 166
      
167 167
     /**
@@ -175,10 +175,10 @@  discard block
 block discarded – undo
175 175
     public function getAll(string $outputFormat = 'default')
176 176
     {
177 177
         // execute query
178
-       $exec = $this->execute();
178
+        $exec = $this->execute();
179 179
 
180
-       // format
181
-       $format = ($outputFormat === 'default') ? $this->driver->defaultOutputFormat() : $outputFormat; 
180
+        // format
181
+        $format = ($outputFormat === 'default') ? $this->driver->defaultOutputFormat() : $outputFormat; 
182 182
 
183 183
         // return output
184 184
         return QueryBuilder::fetchOutput($this, $exec, $format);
Please login to merge, or discard this patch.
lib/Driver/DatabaseDriver.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
  */
34 34
 abstract class DatabaseDriver
35 35
 {
36
-   /**
36
+    /**
37 37
      * PDO connection
38 38
      *
39 39
      * @access protected
@@ -74,9 +74,9 @@  discard block
 block discarded – undo
74 74
      * @var string
75 75
      */
76 76
     public function sqlCreateTableOptions()
77
-     {
77
+        {
78 78
         return '';    
79
-     } 
79
+        } 
80 80
 
81 81
     /**
82 82
      * Gets/returns the default output format 
@@ -135,8 +135,8 @@  discard block
 block discarded – undo
135 135
      */
136 136
     public function escape($str)
137 137
     {
138
-       $list = explode('.', $str);
139
-       return implode('.', $this->escapeList($list));
138
+        $list = explode('.', $str);
139
+        return implode('.', $this->escapeList($list));
140 140
     }
141 141
 
142 142
     /**
Please login to merge, or discard this patch.