Patching a small issue when calling array_replace_recursive() without asserting the args are arrays.