@@ -23,8 +23,7 @@ |
||
23 | 23 | $records = $this->paginateRecords($query, $pageNumber, $size)->all(); |
24 | 24 | $results = []; |
25 | 25 | |
26 | - while(count($records) > 0) |
|
27 | - { |
|
26 | + while(count($records) > 0) { |
|
28 | 27 | // On each chunk, pass the records to the callback and then let the |
29 | 28 | // developer take care of everything within the callback. This allows to |
30 | 29 | // keep the memory low when looping through large result sets. |