it does not make sense to warn about a requirement for an array reference and then try to use an array reference anyway