Prevent Array To String Conversion Notice

When you send a broadcast, the $to variable is an array. So, when you concatenate $to with a string you are going to get "Array to String conversion notice."