@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | |
48 | 48 | /** |
49 | 49 | * @param string $table name |
50 | - * @return int id of last insert statement |
|
50 | + * @return string id of last insert statement |
|
51 | 51 | */ |
52 | 52 | public function lastInsertId($table) { |
53 | 53 | return $this->conn->realLastInsertId($table); |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | |
119 | 119 | /** |
120 | 120 | * Inserts, or updates a row into the database. Returns the inserted or updated rows |
121 | - * @param $table string table name including **PREFIX** |
|
121 | + * @param string $table string table name including **PREFIX** |
|
122 | 122 | * @param $input array the key=>value pairs to insert into the db row |
123 | 123 | * @param $compare array columns that should be compared to look for existing arrays |
124 | 124 | * @return int the number of rows affected by the operation |