@@ -79,7 +79,7 @@ |
||
79 | 79 | $input = array_merge($input, $constraints); |
80 | 80 | } |
81 | 81 | |
82 | - return $this->resource() . '?' . http_build_query($input); |
|
82 | + return $this->resource().'?'.http_build_query($input); |
|
83 | 83 | } |
84 | 84 | |
85 | 85 | /** |
@@ -139,17 +139,17 @@ 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 | |
148 | 148 | Column::setOriginalGridModels($collection); |
149 | 149 | |
150 | 150 | $original = $current = $collection->toArray(); |
151 | 151 | |
152 | - $this->grid->getColumns()->map(function (Column $column) use (&$current) { |
|
152 | + $this->grid->getColumns()->map(function(Column $column) use (&$current) { |
|
153 | 153 | $current = $column->fill($current); |
154 | 154 | $this->grid->columnNames[] = $column->getName(); |
155 | 155 | }); |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | protected function getVisiableTitles() |
179 | 179 | { |
180 | 180 | $titles = $this->grid->visibleColumns() |
181 | - ->mapWithKeys(function (Column $column) { |
|
181 | + ->mapWithKeys(function(Column $column) { |
|
182 | 182 | return [$column->getName() => $column->getLabel()]; |
183 | 183 | }); |
184 | 184 |