Fix pagination example: array_chunk error

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