@@ -299,8 +299,8 @@ discard block |
||
299 | 299 | } |
300 | 300 | |
301 | 301 | if(count($this->results) ){ |
302 | - // now turn this stdClass object to the object type of calling model |
|
303 | - $rows = $util->turnObjects($this->className, $this->results); |
|
302 | + // now turn this stdClass object to the object type of calling model |
|
303 | + $rows = $util->turnObjects($this->className, $this->results); |
|
304 | 304 | } |
305 | 305 | // Reset class variables |
306 | 306 | $this->reset(); |
@@ -446,14 +446,14 @@ discard block |
||
446 | 446 | public function update($row) |
447 | 447 | { |
448 | 448 | $result = (new UpdateQueryBuilder())->update( |
449 | - $rows, |
|
450 | - $this->table, |
|
451 | - $this->where, |
|
452 | - $this->whereRaw, |
|
453 | - $this->whereIn, |
|
454 | - $this->whereNotIn, |
|
455 | - $this->whereNull, |
|
456 | - $this->whereNotNull |
|
449 | + $rows, |
|
450 | + $this->table, |
|
451 | + $this->where, |
|
452 | + $this->whereRaw, |
|
453 | + $this->whereIn, |
|
454 | + $this->whereNotIn, |
|
455 | + $this->whereNull, |
|
456 | + $this->whereNotNull |
|
457 | 457 | ); |
458 | 458 | |
459 | 459 | $this->reset(); |
@@ -26,14 +26,14 @@ |
||
26 | 26 | * @since v0.0.5 |
27 | 27 | */ |
28 | 28 | public function update( |
29 | - $row, |
|
30 | - $table, |
|
31 | - $where, |
|
32 | - $whereRaw, |
|
33 | - $whereIn, |
|
34 | - $whereNotIn, |
|
35 | - $whereNull, |
|
36 | - $whereNotNull |
|
29 | + $row, |
|
30 | + $table, |
|
31 | + $where, |
|
32 | + $whereRaw, |
|
33 | + $whereIn, |
|
34 | + $whereNotIn, |
|
35 | + $whereNull, |
|
36 | + $whereNotNull |
|
37 | 37 | ) |
38 | 38 | { |
39 | 39 | $wqb = new WhereQueryBuilder(); |