@@ -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(); |
@@ -424,14 +424,14 @@ discard block |
||
| 424 | 424 | public function update($row) |
| 425 | 425 | { |
| 426 | 426 | $result = (new UpdateQueryBuilder())->update( |
| 427 | - $row, |
|
| 428 | - $this->table, |
|
| 429 | - $this->where, |
|
| 430 | - $this->whereRaw, |
|
| 431 | - $this->whereIn, |
|
| 432 | - $this->whereNotIn, |
|
| 433 | - $this->whereNull, |
|
| 434 | - $this->whereNotNull |
|
| 427 | + $row, |
|
| 428 | + $this->table, |
|
| 429 | + $this->where, |
|
| 430 | + $this->whereRaw, |
|
| 431 | + $this->whereIn, |
|
| 432 | + $this->whereNotIn, |
|
| 433 | + $this->whereNull, |
|
| 434 | + $this->whereNotNull |
|
| 435 | 435 | ); |
| 436 | 436 | |
| 437 | 437 | $this->reset(); |
@@ -470,13 +470,13 @@ discard block |
||
| 470 | 470 | public function delete() |
| 471 | 471 | { |
| 472 | 472 | $result = (new DeleteQueryBuilder())->delete( |
| 473 | - $this->table, |
|
| 474 | - $this->where, |
|
| 475 | - $this->whereRaw, |
|
| 476 | - $this->whereIn, |
|
| 477 | - $this->whereNotIn, |
|
| 478 | - $this->whereNull, |
|
| 479 | - $this->whereNotNull |
|
| 473 | + $this->table, |
|
| 474 | + $this->where, |
|
| 475 | + $this->whereRaw, |
|
| 476 | + $this->whereIn, |
|
| 477 | + $this->whereNotIn, |
|
| 478 | + $this->whereNull, |
|
| 479 | + $this->whereNotNull |
|
| 480 | 480 | ); |
| 481 | 481 | |
| 482 | 482 | $this->reset(); |