Skip to content

Commit 063ff15

Browse files
tabunagithub-actions[bot]
authored andcommitted
Fixed code style
1 parent 4835f8e commit 063ff15

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

app/Orchid/Screens/SecretSantaScreen.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function layout(): array
5555
TD::make('user.name', 'Пользователь (Санта)'),
5656

5757
TD::make('receiver', 'Получатель')
58-
->render(fn(SecretSantaParticipant $participant) => $participant->receiver?->user->name ?? 'Не назначен'
58+
->render(fn (SecretSantaParticipant $participant) => $participant->receiver?->user->name ?? 'Не назначен'
5959
),
6060

6161
/*
@@ -67,7 +67,7 @@ public function layout(): array
6767
TD::make('receiver.address', 'Адрес'),
6868

6969
TD::make('receiver.telegram', 'Telegram')
70-
->render(fn(SecretSantaParticipant $participant) => $participant->receiver?->telegram
70+
->render(fn (SecretSantaParticipant $participant) => $participant->receiver?->telegram
7171
? Link::make($participant->receiver?->telegram)->href("https://t.me/{$participant->receiver?->telegram}")
7272
: ''
7373
),
@@ -77,10 +77,10 @@ public function layout(): array
7777
TD::make('receiver.phone', 'Номер телефона'),
7878

7979
TD::make('status', 'Статус')
80-
->render(fn(SecretSantaParticipant $participant) => $participant->status === 'done'
81-
? '✅ Завершён'
82-
: '⏳ Ожидает'
83-
),
80+
->render(fn (SecretSantaParticipant $participant) => $participant->status === 'done'
81+
? '✅ Завершён'
82+
: '⏳ Ожидает'
83+
),
8484

8585
TD::make('updated_at', 'Последнее обновление')
8686
->defaultHidden()

0 commit comments

Comments
 (0)