Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to authored and github-actions[bot] committed Jul 28, 2024
1 parent d9532c2 commit 1a4b2ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Laravel/Handlers/ExportHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ public function getButton(): ActionButtonContract

if ($this->isWithConfirm()) {
$button->withConfirm(
formBuilder: static fn(FormBuilder $form): FormBuilder => $form->customAttributes($attributes)
formBuilder: static fn (FormBuilder $form): FormBuilder => $form->customAttributes($attributes)
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/Laravel/Handlers/ImportHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ public static function process(
$data = collect($line)->mapWithKeys(
static function (mixed $value, string $key) use ($resource): array {
$field = $resource->getImportFields()->first(
static fn (FieldContract $field
static fn (
FieldContract $field
): bool => $field->getColumn() === $key || $field->getLabel() === $key
);

Expand Down

0 comments on commit 1a4b2ed

Please sign in to comment.