Skip to content

Commit

Permalink
[FIX] Make phpcsfixer happy
Browse files Browse the repository at this point in the history
  • Loading branch information
dhoffmann1979 committed Jan 25, 2024
1 parent 3731b4a commit e6d663a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Classes/Controller/NewsletterController.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,12 +247,11 @@ public function testMailAjax(ServerRequestInterface $request): ResponseInterface
$request->getQueryParams()['email']
);
}

$response = ObjectUtility::getJsonResponse();
$responseData = [
'status' => $status ?? $event->getStatus(),
];
if ($event->isTestMailIsSendExternal()){
if ($event->isTestMailIsSendExternal()) {
$responseData = array_merge(
$responseData,
[
Expand Down

0 comments on commit e6d663a

Please sign in to comment.