File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 33namespace Coderflex \LaravelCsv \Http \Livewire ;
44
55use Coderflex \LaravelCsv \Concerns ;
6+ use function Coderflex \LaravelCsv \csv_view_path ;
67use Coderflex \LaravelCsv \Jobs \ImportCsv ;
78use Coderflex \LaravelCsv \Utilities \ChunkIterator ;
89use Illuminate \Support \Facades \Bus ;
910use Illuminate \Support \MessageBag ;
1011use Illuminate \Validation \Validator ;
1112use Livewire \Component ;
1213use Livewire \WithFileUploads ;
13- use function Coderflex \LaravelCsv \csv_view_path ;
1414
1515class CsvImporter extends Component
1616{
Original file line number Diff line number Diff line change 22
33namespace Coderflex \LaravelCsv \Http \Livewire ;
44
5+ use function Coderflex \LaravelCsv \csv_view_path ;
56use Coderflex \LaravelCsv \Models \Import ;
67use Livewire \Component ;
7- use function Coderflex \LaravelCsv \csv_view_path ;
88
99class HandleImports extends Component
1010{
Original file line number Diff line number Diff line change 55if (! function_exists ('Coderflex\LaravelCsv\csv_view_path ' )) {
66 /**
77 * Get the evaluated view content from the livewire view
8- *
8+ *
99 * @param string|null $view
1010 * @return string
1111 */
12- function csv_view_path ($ view ) {
13- return 'laravel-csv::livewire. ' . config ('laravel_csv.layout ' ) . '. ' . $ view ;
12+ function csv_view_path ($ view )
13+ {
14+ return 'laravel-csv::livewire. ' .config ('laravel_csv.layout ' ).'. ' .$ view ;
1415 }
15- }
16+ }
You can’t perform that action at this time.
0 commit comments