@@ -139,16 +139,16 @@ discard block |
||
139 | 139 | call_user_func($this->callback, $this); |
140 | 140 | } |
141 | 141 | |
142 | - $response = function () { |
|
142 | + $response = function() { |
|
143 | 143 | $handle = fopen('php://output', 'w'); |
144 | 144 | $titles = []; |
145 | 145 | |
146 | - $this->chunk(function ($collection) use ($handle, &$titles) { |
|
146 | + $this->chunk(function($collection) use ($handle, &$titles) { |
|
147 | 147 | Column::setOriginalGridModels($collection); |
148 | 148 | |
149 | 149 | $original = $current = $collection->toArray(); |
150 | 150 | |
151 | - $this->grid->getColumns()->map(function (Column $column) use (&$current) { |
|
151 | + $this->grid->getColumns()->map(function(Column $column) use (&$current) { |
|
152 | 152 | $current = $column->fill($current); |
153 | 153 | $this->grid->columnNames[] = $column->getName(); |
154 | 154 | }); |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | protected function getVisiableTitles() |
178 | 178 | { |
179 | 179 | $titles = $this->grid->visibleColumns() |
180 | - ->mapWithKeys(function (Column $column) { |
|
180 | + ->mapWithKeys(function(Column $column) { |
|
181 | 181 | return [$column->getName() => $column->getLabel()]; |
182 | 182 | }); |
183 | 183 |