while that is true it still handles generic objects, it is just not used.
Either the signature should be kept and the callers fixed or the signature *and* the function changed to not handle non arrays (+ Documentation)
As there are only two callers one of them via a macro I think fixing the callers is the better solution (next to ignoring these warnings)