Passed
Push — main ( e88b44...75c293 )
by William
10:29
created
example/example.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
  */
145 145
 $dbSub = (new Query())->from('users as u')->where("2 = ?", [2])->limit(10);
146 146
 
147
-$data = (new Query())->fromSubQuery(function (Query $query) {
147
+$data = (new Query())->fromSubQuery(function(Query $query) {
148 148
     return $query->from("users")->selectRaw('id,first_name')->where("1 = ?", [1])->limit(10);
149 149
 }, 'sub')
150 150
     ->where('4 = ?', [4])
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
         "u.id",
232 232
         "count(ao.id) as qtd"
233 233
     ])
234
-    ->join("app_orders as ao","ao.user_id = u.id")
234
+    ->join("app_orders as ao", "ao.user_id = u.id")
235 235
     ->groupBy("u.id")
236 236
     ->having("count(ao.id) > ?", [1])
237 237
     ->get();
Please login to merge, or discard this patch.