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