I think you should also add the case of  a single parameter containing an array to be consistent with the cases described in the phpdoc of the function