@@ -38,7 +38,7 @@ discard block |
||
| 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 |
||
| 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 | |