@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | */ |
38 | 38 | private function registerExporter() |
39 | 39 | { |
40 | - $this->singleton('arcanedev.excel.exporter', function ($app) { |
|
40 | + $this->singleton('arcanedev.excel.exporter', function($app) { |
|
41 | 41 | return new ExporterFactory($app); |
42 | 42 | }); |
43 | 43 | $this->bind(Contracts\ExporterManager::class, 'arcanedev.excel.exporter'); |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | |
46 | 46 | private function registerImporter() |
47 | 47 | { |
48 | - $this->singleton('arcanedev.excel.importer', function ($app) { |
|
48 | + $this->singleton('arcanedev.excel.importer', function($app) { |
|
49 | 49 | return new ImporterFactory($app); |
50 | 50 | }); |
51 | 51 | $this->bind(Contracts\ImporterManager::class, 'arcanedev.excel.importer'); |
@@ -18,7 +18,7 @@ |
||
18 | 18 | | ------------------------------------------------------------------------------------------------ |
19 | 19 | */ |
20 | 20 | /** @var array */ |
21 | - protected $data = []; |
|
21 | + protected $data = [ ]; |
|
22 | 22 | |
23 | 23 | /** @var string */ |
24 | 24 | protected $type; |
@@ -33,6 +33,6 @@ |
||
33 | 33 | */ |
34 | 34 | public function getHeader() |
35 | 35 | { |
36 | - return []; |
|
36 | + return [ ]; |
|
37 | 37 | } |
38 | 38 | } |
@@ -22,7 +22,7 @@ |
||
22 | 22 | */ |
23 | 23 | public function getDefaultDriver() |
24 | 24 | { |
25 | - return $this->app['config']['laravel-excel.default']; |
|
25 | + return $this->app[ 'config' ][ 'laravel-excel.default' ]; |
|
26 | 26 | } |
27 | 27 | |
28 | 28 | /* ------------------------------------------------------------------------------------------------ |
@@ -22,7 +22,7 @@ |
||
22 | 22 | */ |
23 | 23 | public function getDefaultDriver() |
24 | 24 | { |
25 | - return $this->app['config']['laravel-excel.default']; |
|
25 | + return $this->app[ 'config' ][ 'laravel-excel.default' ]; |
|
26 | 26 | } |
27 | 27 | |
28 | 28 | /* ------------------------------------------------------------------------------------------------ |