$lazyCollection->next()
Moves the cursor to the next element and returns it
Deprecated
$lazyCollection->next(): TValue
Return type
TValue
This method modifies the existing $lazycollection object it is applied to and returns it again.