Passed
Push — master ( 30befd...b79908 )
by RN
01:57
created
src/Dolphin/Builders/DeleteQueryBuilder.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -26,13 +26,13 @@
 block discarded – undo
26 26
      * @since v0.0.5
27 27
      */
28 28
     public function delete(
29
-      $table,
30
-      $where,
31
-      $whereRaw,
32
-      $whereIn,
33
-      $whereNotIn,
34
-      $whereNull,
35
-      $whereNotNull
29
+        $table,
30
+        $where,
31
+        $whereRaw,
32
+        $whereIn,
33
+        $whereNotIn,
34
+        $whereNull,
35
+        $whereNotNull
36 36
     )
37 37
     {
38 38
         $wqb = new WhereQueryBuilder();
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
         $wqb = new WhereQueryBuilder();
39 39
         $query = "DELETE FROM ".$table;
40 40
 
41
-        try{
41
+        try {
42 42
             $whereQuery = $wqb->buildAllWhereQuery(
43 43
                                     $where,
44 44
                                     $whereRaw,
@@ -47,9 +47,9 @@  discard block
 block discarded – undo
47 47
                                     $whereNull,
48 48
                                     $whereNotNull
49 49
                                 );
50
-            $query.= " ".join(" ", $whereQuery);
50
+            $query .= " ".join(" ", $whereQuery);
51 51
             Connection::get()->query($this->queryPrefix($query));
52
-        } catch(Exception $e){
52
+        } catch (Exception $e) {
53 53
             throw new Exception($e->getMessage());
54 54
         }
55 55
 
Please login to merge, or discard this patch.