Completed
Push — master ( ee56eb...1eb78b )
by Juuso
04:46
created
src/ActiveRecord/ActiveQueryChunker.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,8 +23,7 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.