Skip to content

Commit 9413e37

Browse files
joaopaulolndevgithub-actions[bot]
authored andcommitted
Fix styling
1 parent 45f63c8 commit 9413e37

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Livewire/CustomFieldsForm.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
use Filament\Notifications\Notification;
1313
use Joaopaulolndev\FilamentEditProfile\Concerns\HasUser;
1414
use Throwable;
15+
1516
class CustomFieldsForm extends BaseProfileForm
1617
{
1718
use HasUser;
@@ -76,7 +77,7 @@ private static function createField(string $fieldKey, array | Closure $field): ?
7677

7778
private static function createFieldFromString(string $fieldKey, array $field): ?Forms\Components\Component
7879
{
79-
try {
80+
try {
8081

8182
$class = \Illuminate\Support\Str::camel($field['type']);
8283
$class = "Filament\Forms\Components\\{$class}";
@@ -87,7 +88,8 @@ private static function createFieldFromString(string $fieldKey, array $field): ?
8788
->required($field['required'])
8889
->rules($field['rules']);
8990

90-
} catch (Throwable $exception) {}
91+
} catch (Throwable $exception) {
92+
}
9193
}
9294

9395
private static function createTextInput(string $fieldKey, array $field): TextInput

0 commit comments

Comments
 (0)