Completed
Branch develop (f23d66)
by Arjay
02:27
created
src/Engines/QueryBuilderEngine.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -216,8 +216,8 @@  discard block
 block discarded – undo
216 216
         $myQuery = clone $this->query;
217 217
         $myQuery->orWhereHas($relation, function ($q) use ($column, $keyword, $query) {
218 218
             $sql = $q->select($this->connection->raw('count(1)'))
219
-                     ->where($column, 'like', $keyword)
220
-                     ->toSql();
219
+                        ->where($column, 'like', $keyword)
220
+                        ->toSql();
221 221
             $sql = "($sql) >= 1";
222 222
             $query->orWhereRaw($sql, [$keyword]);
223 223
         });
@@ -415,7 +415,7 @@  discard block
 block discarded – undo
415 415
 
416 416
         if (! in_array($table, $joins)) {
417 417
             $this->getQueryBuilder()
418
-                 ->leftJoin($table, $foreign, '=', $other);
418
+                    ->leftJoin($table, $foreign, '=', $other);
419 419
         }
420 420
 
421 421
         return $column;
Please login to merge, or discard this patch.