@@ -355,7 +355,7 @@ discard block |
||
| 355 | 355 | * Returns the last insert ID from the previous query. This is |
| 356 | 356 | * the value from an auto_increment field. |
| 357 | 357 | * |
| 358 | - * @return integer |
|
| 358 | + * @return string |
|
| 359 | 359 | * The last interested row's ID |
| 360 | 360 | */ |
| 361 | 361 | public function getInsertID() |
@@ -382,7 +382,7 @@ discard block |
||
| 382 | 382 | * conflicts. By default this is set to false, which will not update the data and |
| 383 | 383 | * would return an SQL error |
| 384 | 384 | * @throws DatabaseException |
| 385 | - * @return boolean |
|
| 385 | + * @return PDOStatement |
|
| 386 | 386 | */ |
| 387 | 387 | public function insert(array $fields, $table, $updateOnDuplicate = false) |
| 388 | 388 | { |
@@ -445,7 +445,7 @@ discard block |
||
| 445 | 445 | * A WHERE statement for this UPDATE statement, defaults to null |
| 446 | 446 | * which will update all rows in the $table |
| 447 | 447 | * @param array $params |
| 448 | - * @return bool |
|
| 448 | + * @return PDOStatement |
|
| 449 | 449 | */ |
| 450 | 450 | public function update($fields, $table, $where = null, $params = array()) |
| 451 | 451 | { |
@@ -472,7 +472,7 @@ discard block |
||
| 472 | 472 | * which will delete all rows in the $table |
| 473 | 473 | * @param array $params |
| 474 | 474 | * @throws DatabaseException |
| 475 | - * @return boolean |
|
| 475 | + * @return PDOStatement |
|
| 476 | 476 | */ |
| 477 | 477 | public function delete($table, $where = null, array $params = array()) |
| 478 | 478 | { |