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