Well, returning an array of elements is the "cleanest" way in terms of the underlying code (each separate element is added to the stack). The possiblity to return a string is an extra feature, we explode the string into its separate elements to get the array. Slugify applies to *each element* of the array.