DusanKasan / Knapsack

Collection pipeline library for PHP

Home Page:http://dusankasan.github.io/Knapsack/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

partition with -1 as step doesn't work as intended

opened this issue · comments

Despite the default parameter of the partition() function for step being -1 according to the signature (in collection_functions.php), the step is used as -1 and the test fails.

It should be clear that 0 is the default parameter value.