Initialise array in Collection::groupBy()

This is best practice as mentioned [in the PHP docs](http://php.net/manual/en/language.types.array.php#language.types.array.syntax.modifying).