Linkedhashset To Arraylist Using Toarray Laravel 10