@@ -73,7 +73,7 @@ |
||
| 73 | 73 | * @param string $query the SQL statement |
| 74 | 74 | * @param array $params the params array |
| 75 | 75 | * |
| 76 | - * @return boolean returns TRUE on success or FALSE on failure. |
|
| 76 | + * @return DatabaseQueryBuilder returns TRUE on success or FALSE on failure. |
|
| 77 | 77 | */ |
| 78 | 78 | public function execute($query = null, $params = []) |
| 79 | 79 | { |
@@ -194,7 +194,7 @@ discard block |
||
| 194 | 194 | * an existing object. |
| 195 | 195 | * |
| 196 | 196 | * @param string $query the SQL statement |
| 197 | - * @param array $params the params array |
|
| 197 | + * @param array $param the params array |
|
| 198 | 198 | * @param string $object the existing object to insert into |
| 199 | 199 | * |
| 200 | 200 | * @return array with resultset |
@@ -254,7 +254,7 @@ discard block |
||
| 254 | 254 | /** |
| 255 | 255 | * Fetch full resultset as new objects from this class. |
| 256 | 256 | * |
| 257 | - * @param object $class which type of object to instantiate. |
|
| 257 | + * @param string $class which type of object to instantiate. |
|
| 258 | 258 | * |
| 259 | 259 | * @return array with resultset. |
| 260 | 260 | */ |
@@ -269,7 +269,7 @@ discard block |
||
| 269 | 269 | /** |
| 270 | 270 | * Fetch one resultset into an object. |
| 271 | 271 | * |
| 272 | - * @param object $object to insert values into. |
|
| 272 | + * @param ActiveRecordModel $object to insert values into. |
|
| 273 | 273 | * |
| 274 | 274 | * @return array with resultset. |
| 275 | 275 | */ |
@@ -377,7 +377,7 @@ discard block |
||
| 377 | 377 | /** |
| 378 | 378 | * Return last insert id from autoincremented key on INSERT. |
| 379 | 379 | * |
| 380 | - * @return integer as last insert id. |
|
| 380 | + * @return string as last insert id. |
|
| 381 | 381 | */ |
| 382 | 382 | public function lastInsertId() |
| 383 | 383 | { |
@@ -98,7 +98,6 @@ |
||
| 98 | 98 | * Find and return first object by its tableIdColumn and use |
| 99 | 99 | * its data to populate this instance. |
| 100 | 100 | * |
| 101 | - * @param string $column to use in where statement. |
|
| 102 | 101 | * @param mixed $value to use in where statement. |
| 103 | 102 | * |
| 104 | 103 | * @return this |