Completed
Push — master ( 3fee31...0e6671 )
by Vitaliy
31s queued 11s
created
src/Components/PhpSpreadsheetExport.php 2 patches
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -68,20 +68,20 @@  discard block
 block discarded – undo
68 68
         }
69 69
     }
70 70
 
71
-	/**
72
-	 *
73
-	 * @return array
74
-	 */
75
-	function headings(): array
71
+    /**
72
+     *
73
+     * @return array
74
+     */
75
+    function headings(): array
76 76
     {
77 77
         return $this->getHeaderRow();
78
-	}
78
+    }
79 79
 
80
-	/**
81
-	 *
82
-	 * @return array
83
-	 */
84
-	function registerEvents(): array
80
+    /**
81
+     *
82
+     * @return array
83
+     */
84
+    function registerEvents(): array
85 85
     {
86 86
         return [
87 87
             BeforeSheet::class => function(BeforeSheet $event) {
@@ -91,6 +91,6 @@  discard block
 block discarded – undo
91 91
                 }
92 92
             }
93 93
         ];
94
-	}
94
+    }
95 95
 
96 96
 }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     public function __construct()
34 34
     {
35
-        if(!interface_exists('Maatwebsite\Excel\Exporter')) {
35
+        if (!interface_exists('Maatwebsite\Excel\Exporter')) {
36 36
             throw new \RuntimeException('It seems there is no Maatwebsite v3 installed. Install it or use ExcelExport component');
37 37
         }
38 38
     }
@@ -57,9 +57,9 @@  discard block
 block discarded – undo
57 57
         $provider = $this->grid->getConfig()->getDataProvider();
58 58
         $this->resetPagination($provider);
59 59
         $provider->reset();
60
-        while($row = $provider->getRow()) {
60
+        while ($row = $provider->getRow()) {
61 61
             $output = [];
62
-            foreach($columnsConfig as $column) {
62
+            foreach ($columnsConfig as $column) {
63 63
                 if ($this->isColumnExported($column)) {
64 64
                     $output[] = $this->escapeString($column->getValue($row));
65 65
                 }
Please login to merge, or discard this patch.