Fix ignore sniff specific ignore pattern

$pattern must be scalar but $type makes sense here as it could be an array