@@ -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 | - $row, |
|
450 | - $this->table, |
|
451 | - $this->where, |
|
452 | - $this->whereRaw, |
|
453 | - $this->whereIn, |
|
454 | - $this->whereNotIn, |
|
455 | - $this->whereNull, |
|
456 | - $this->whereNotNull |
|
449 | + $row, |
|
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(); |