Skip to content

Commit a2cc3b6

Browse files
committed
Merge branch 'main' of github.com:backstagephp/fields
2 parents 7774bf6 + 2a01fd1 commit a2cc3b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Concerns/CanMapDynamicFields.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ private function resolveFormFields(mixed $record = null, bool $isNested = false)
127127
$customFields = $this->resolveCustomFields();
128128

129129
return $record->fields
130-
->map(fn($field) => $this->resolveFieldInput($field, $customFields, $record, $isNested))
130+
->map(fn ($field) => $this->resolveFieldInput($field, $customFields, $record, $isNested))
131131
->filter()
132132
->values()
133133
->all();
@@ -136,7 +136,7 @@ private function resolveFormFields(mixed $record = null, bool $isNested = false)
136136
private function resolveCustomFields(): Collection
137137
{
138138
return collect(Fields::getFields())
139-
->map(fn($fieldClass) => new $fieldClass);
139+
->map(fn ($fieldClass) => new $fieldClass);
140140
}
141141

142142
private function resolveFieldInput(Model $field, Collection $customFields, mixed $record = null, bool $isNested = false): ?object

0 commit comments

Comments
 (0)