Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[5.7] Fix a unsuspected result from the split function in the Collection class #24088
This will change the result of the split function to return the requested amount of collections (except the total of items is less then the requested number)
// expected and new result
// result before this change
It will change the split function and add 3 new tests to test some edge cases that are fixed with this change.
I think it is good to change this in the next release or explain it in the documentation.