Skip to content

Commit 175265f

Browse files
ousidgithub-actions[bot]
authored andcommitted
Fix styling
1 parent c18884b commit 175265f

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/Http/Livewire/ImportCsv.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ class ImportCsv extends Component
99
{
1010
use WithFileUploads;
1111

12-
/** @var string $model*/
12+
/** @var string */
1313
public string $model;
1414

15-
/** @var string $file*/
15+
/** @var string */
1616
public string $file;
1717

18-
/** @var array $columnsToMap */
18+
/** @var array */
1919
public array $columnsToMap = [];
2020

21-
/** @var array $requiredColumns */
21+
/** @var array */
2222
public array $requiredColumns = [];
2323

24-
/** @var array $columnLabels */
24+
/** @var array */
2525
public array $columnLabels = [];
2626

2727
public function mount()
@@ -34,14 +34,14 @@ public function mount()
3434
$this->columnLabels = collect($this->requiredColumns)
3535
->mapWithKeys(function ($column): array {
3636
return [
37-
'columnsToMap.' . $column => strtolower($this->columnLabels[$column]),
37+
'columnsToMap.'.$column => strtolower($this->columnLabels[$column]),
3838
];
3939
})->toArray();
4040
}
4141

4242
$this->requiredColumns = collect($this->requiredColumns)
4343
->mapWithKeys(function ($column): array {
44-
return ['columnsToMap.' . $column => 'required'];
44+
return ['columnsToMap.'.$column => 'required'];
4545
})->toArray();
4646
}
4747

tests/ImportCsvTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,4 @@
110110
'columnsToMap.name' => 'name',
111111
'columnsToMap.email' => 'email',
112112
]);
113-
});
113+
});

0 commit comments

Comments
 (0)