Skip to content

Conversation

@mishavantol
Copy link
Contributor

There's a bug in the (Lazy)collection nth methods. If $step is lower or equal to $offset the returned collection is always empty because the modulo will never reach the $offset value.

@taylorotwell taylorotwell merged commit 98aa74a into laravel:8.x Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants