Fix pagination array items error

array_chunk() expects parameter 1 to be array, object (Eloquent\Collection) given