You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a reason the Collection's reverse method doesn't have a $preserve_keys option (see PHP Docs for array_reverse)? Is it simply a PHP version issue?
I ended up having to use collect(array_reverse($points->all(), true)) instead of what I hoped would just be $points->reverse(true).