private function preserveOldArgFormat(array $args)
    {
        if (isset($args[0]) && !is_array($args[0])) {
            $args = [$args];
        } elseif (empty($args)) {
            $args = [[]];
        }

        return $args;
    }
private function preserveOldArgFormat(array $args)
    {
        if (isset($args[0]) && !is_array($args[0])) {
            $args = [$args];
        } elseif (empty($args)) {
            $args = [[]];
        }

        return $args;
    }
private function preserveOldArgFormat ( array $ args ) { if ( isset ( $ args [ 0 ] ) && ! is_array ( $ args [ 0 ] ) ) { $ args = [ $ args ] ; } elseif ( empty ( $ args ) ) { $ args = [ [ ] ] ; } return $ args ; }
BC - getArgs only returned 1 set of args in v1 instead of multiple sets of args in v2

@param array $args
@return array
BC - getArgs only returned 1 set of args in v1 instead of multiple sets of args in v2