We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16d88ae commit 5923badCopy full SHA for 5923bad
1 file changed
MysqliDb.php
@@ -1280,18 +1280,18 @@ public function now ($diff = null, $func = "NOW()") {
1280
1281
/**
1282
* Method generates incremental function call
1283
- * @param int increment amount. 1 by default
+ * @param int increment by int or float. 1 by default
1284
*/
1285
public function inc($num = 1) {
1286
- return Array ("[I]" => "+" . (int)$num);
+ return Array ("[I]" => "+" . $num);
1287
}
1288
1289
1290
* Method generates decrimental function call
1291
1292
1293
public function dec ($num = 1) {
1294
- return Array ("[I]" => "-" . (int)$num);
+ return Array ("[I]" => "-" . $num);
1295
1296
1297
0 commit comments