Completed
Push — master ( 8264a5...ee8836 )
by
unknown
05:48
created
src/Components/ExcelExport.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.