This could be considered just as a tiny refactoring / code-style change: no bugs, no new features
don't call an inject* method with missing/empty related config values
check for empty routes in injectRoutesFromConfig before checking is_array and running the loop on an empty array (this make more sense if the method is called outside this delegator, which, now, already checks for emptiness before calling it)
This could be considered just as a tiny refactoring / code-style change: no bugs, no new features
inject*
method with missing/empty related config valuesinjectRoutesFromConfig
before checking is_array and running the loop on an empty array (this make more sense if the method is called outside this delegator, which, now, already checks for emptiness before calling it)