File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -98,18 +98,18 @@ public function filter(callable $callback)
98
98
*/
99
99
public function each (callable $ callback )
100
100
{
101
- $ headings = [];
101
+ $ headings = [];
102
102
$ originalHeaders = [];
103
- $ headingLine = null ;
103
+ $ headingLine = null ;
104
104
105
105
foreach ($ this ->sheet ->getRowIterator () as $ line => $ row ) {
106
106
$ row = $ row instanceof Row ? $ row ->toArray () : (is_array ($ row ) ? $ row : []);
107
107
108
- if (!$ this ->withoutHeadings ()) {
108
+ if (! $ this ->withoutHeadings ()) {
109
109
if ($ headingLine === null && $ this ->isHeadingRow ($ line , $ row )) {
110
- $ headingLine = $ line ;
110
+ $ headingLine = $ line ;
111
111
$ originalHeaders = $ row ;
112
- $ headings = $ this ->formatHeadings ($ row );
112
+ $ headings = $ this ->formatHeadings ($ row );
113
113
114
114
continue ;
115
115
}
Original file line number Diff line number Diff line change 4
4
5
5
use Dcat \EasyExcel \Excel ;
6
6
use League \Flysystem \Adapter \Local ;
7
- use League \Flysystem \Local \LocalFilesystemAdapter ;
8
7
use League \Flysystem \Filesystem ;
8
+ use League \Flysystem \Local \LocalFilesystemAdapter ;
9
9
use Tests \TestCase ;
10
10
11
11
class FilesystemTest extends TestCase
Original file line number Diff line number Diff line change 4
4
5
5
use Dcat \EasyExcel \Excel ;
6
6
use League \Flysystem \Adapter \Local ;
7
- use League \Flysystem \Local \LocalFilesystemAdapter ;
8
7
use League \Flysystem \Filesystem ;
8
+ use League \Flysystem \Local \LocalFilesystemAdapter ;
9
9
10
10
class FilesystemTest extends ImporterTest
11
11
{
You can’t perform that action at this time.
0 commit comments