diff --git a/src/QueryBuilder.php b/src/QueryBuilder.php index 53787bc..d185b08 100644 --- a/src/QueryBuilder.php +++ b/src/QueryBuilder.php @@ -693,7 +693,7 @@ public static function inc($num = 1) if (!is_numeric($num)||$num<=0) { throw new Exception('Argument supplied to inc must be a positive number'); } - return array("[I]" => "+" . $num); + return array("[I]" => " + " . $num); } /** @@ -707,7 +707,7 @@ public static function dec($num = 1) if (!is_numeric($num)||$num<=0) { throw new Exception('Argument supplied to dec must be a positive number'); } - return array("[I]" => "-" . $num); + return array("[I]" => " - " . $num); } /**