There's a slight difference in the logic between the two here. When an Array is supplied the values in the array represent the actual input value (all checkboxes with this value have to be checked), whereas if anything other than an Array is supplied the value represents whether the checkbox is checked or not.