Same comment here re: `|null` and optional parameters. The user should either pass a string or array or omit the argument entirely.