The Collection ->merge() method calls array_merge() under the hood, which re-numbers numeric array keys starting at 0. This PR adds fallback routes back into the route list one by one manually, so that we never call ->merge() and all numeric keys are preserved.
The Collection
->merge()
method callsarray_merge()
under the hood, which re-numbers numeric array keys starting at 0. This PR adds fallback routes back into the route list one by one manually, so that we never call->merge()
and all numeric keys are preserved.Fixes #657.