From ff47b024f57cb2c2fa04aed0d80a444c80acac6a Mon Sep 17 00:00:00 2001 From: philipp lang Date: Sun, 20 Oct 2024 18:30:16 +0200 Subject: [PATCH] Lint --- app/Mailman/Support/MailmanService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Mailman/Support/MailmanService.php b/app/Mailman/Support/MailmanService.php index ffc85f36..bb75e4cd 100644 --- a/app/Mailman/Support/MailmanService.php +++ b/app/Mailman/Support/MailmanService.php @@ -85,7 +85,7 @@ class MailmanService return app(Paginator::class)->result( fn ($page) => $this->http()->get("/lists/{$list->listId}/roster/member?page={$page}&count=10"), function ($response) use ($list) { - throw_unless($response->ok(), MailmanServiceException::class, 'Fetching members for listId '.$list->listId.' failed.'); + throw_unless($response->ok(), MailmanServiceException::class, 'Fetching members for listId ' . $list->listId . ' failed.'); /** @var array|null */ $entries = data_get($response->json(), 'entries', []); throw_if(is_null($entries), MailmanServiceException::class, 'Failed getting member list from response'); @@ -112,7 +112,7 @@ class MailmanService 'pre_confirmed' => 'true', ]); - throw_unless(201 === $response->status(), MailmanServiceException::class, 'Adding member '.$email.' to '.$list->listId.' failed'); + throw_unless(201 === $response->status(), MailmanServiceException::class, 'Adding member ' . $email . ' to ' . $list->listId . ' failed'); } public function removeMember(Member $member): void