Closed Ocramius closed 10 years ago
As of https://github.com/DASPRiD/Dash/blob/375ac6bcff45a088ad613fea83030222a369e592/tests/DashTest/Mvc/Router/Http/RouterFactoryTest.php#L27-L33, the configuration accepts numerical indexes for route building.
That is not acceptable due to the nature of Zend\Stdlib\ArrayUtils::merge()
Zend\Stdlib\ArrayUtils::merge()
Had that discussed at the conference as well. We perfectly accept that you cannot overwrite values with their numeric index, but only with named parameters. This is also documented in the README.
As of https://github.com/DASPRiD/Dash/blob/375ac6bcff45a088ad613fea83030222a369e592/tests/DashTest/Mvc/Router/Http/RouterFactoryTest.php#L27-L33, the configuration accepts numerical indexes for route building.
That is not acceptable due to the nature of
Zend\Stdlib\ArrayUtils::merge()