@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | public function initialize(Grid $grid) |
| 64 | 64 | { |
| 65 | 65 | parent::initialize($grid); |
| 66 | - Event::listen(Grid::EVENT_PREPARE, function (Grid $grid) { |
|
| 66 | + Event::listen(Grid::EVENT_PREPARE, function(Grid $grid) { |
|
| 67 | 67 | if ($this->grid !== $grid) { |
| 68 | 68 | return; |
| 69 | 69 | } |
@@ -264,7 +264,7 @@ discard block |
||
| 264 | 264 | public function getOnFileCreate() |
| 265 | 265 | { |
| 266 | 266 | if ($this->on_file_create === null) { |
| 267 | - $this->on_file_create = function (LaravelExcelWriter $excel) { |
|
| 267 | + $this->on_file_create = function(LaravelExcelWriter $excel) { |
|
| 268 | 268 | $excel->sheet($this->getSheetName(), $this->getOnSheetCreate()); |
| 269 | 269 | }; |
| 270 | 270 | } |
@@ -288,7 +288,7 @@ discard block |
||
| 288 | 288 | public function getOnSheetCreate() |
| 289 | 289 | { |
| 290 | 290 | if ($this->on_sheet_create === null) { |
| 291 | - $this->on_sheet_create = function (LaravelExcelWorksheet $sheet) { |
|
| 291 | + $this->on_sheet_create = function(LaravelExcelWorksheet $sheet) { |
|
| 292 | 292 | $sheet->fromArray($this->getData(), null, 'A1', false, false); |
| 293 | 293 | }; |
| 294 | 294 | } |