wip
This commit is contained in:
1 parent
c036814366
commit
fb1de890cb
4 files changed
+6
-7
No files matched your search
@@ -70,9 +70,8 @@ class UbEventImporter extends Importer
|
||||
return (string) trim($state);
|
||||
}),
|
||||
ImportColumn::make('rating')
|
||||
->numeric(10)
|
||||
->castStateUsing(function (string $state): ?float {
|
||||
return (float) str_replace(',', '.', $state) * 1.0;
|
||||
->castStateUsing(function (string $state): ?string {
|
||||
return (string) trim($state);
|
||||
}),
|
||||
ImportColumn::make('bcm')->numeric(),
|
||||
ImportColumn::make('hw')->numeric(),
|
||||
|
||||
Reference in new issue
Block a user