this can be simplified: `` return call_user_func_array('array_merge', $providersByPriority)`` (with a check ensuring ``$providersByPriority`` is not empty, but it is already there on the calling code)