Passed
Push — master ( d6def4...043641 )
by RN
01:52
created
src/Dolphin/Builders/QueryBuilder.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -78,21 +78,21 @@
 block discarded – undo
78 78
     }
79 79
 
80 80
     private function buildLimitQuery($limit, $offset, $query = array()){
81
-      $limitQuery = [];
82
-      if (!empty($limit)) {
83
-          $query[] = 'LIMIT';
81
+        $limitQuery = [];
82
+        if (!empty($limit)) {
83
+            $query[] = 'LIMIT';
84 84
 
85
-          if (!empty($offset)) {
86
-              $query[] = $offset.',';
87
-          }
85
+            if (!empty($offset)) {
86
+                $query[] = $offset.',';
87
+            }
88 88
 
89
-          $query[] = $limit;
90
-      }
89
+            $query[] = $limit;
90
+        }
91 91
 
92
-      if (count($limitQuery)) {
93
-          $query = array_merge($query, $limitQuery);
94
-      }
95
-      return $query;
92
+        if (count($limitQuery)) {
93
+            $query = array_merge($query, $limitQuery);
94
+        }
95
+        return $query;
96 96
     }
97 97
 
98 98
     public function buildQuery(array $params)
Please login to merge, or discard this patch.