Skip to content

Commit 4baf189

Browse files
committed
Merge branch 'main' of github.com:vormkracht10/filament-fields
2 parents 464ccb4 + 4a182ec commit 4baf189

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Concerns/CanMapDynamicFields.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ private function resolveFormFields(): array
110110
$customFields = $this->resolveCustomFields();
111111

112112
return $this->record->fields
113-
->map(fn($field) => $this->resolveFieldInput($field, $customFields))
113+
->map(fn ($field) => $this->resolveFieldInput($field, $customFields))
114114
->filter()
115115
->values()
116116
->all();
@@ -119,7 +119,7 @@ private function resolveFormFields(): array
119119
private function resolveCustomFields(): Collection
120120
{
121121
return collect(Fields::getFields())
122-
->map(fn($fieldClass) => new $fieldClass);
122+
->map(fn ($fieldClass) => new $fieldClass);
123123
}
124124

125125
private function resolveFieldInput(Model $field, Collection $customFields): ?object
@@ -138,4 +138,4 @@ private function resolveFieldInput(Model $field, Collection $customFields): ?obj
138138

139139
return null;
140140
}
141-
}
141+
}

0 commit comments

Comments
 (0)