Fixes the issues introduced in https://github.com/auraphp/Aura.Router/commit/eaf6c1188dc46e123da9367e0a5e59d9a9bd4079
Fixes the issues introduced in https://github.com/auraphp/Aura.Router/commit/eaf6c1188dc46e123da9367e0a5e59d9a9bd4079

dstockto/Aura.Framework,auraphp/Aura.Framework