Skip to content

Commit 7860914

Browse files
keradusnicolas-grekas
authored andcommitted
CS: apply minor indentation fixes
1 parent ddebd80 commit 7860914

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

src/Symfony/Bridge/Twig/EventListener/TemplateAttributeListener.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,16 @@ public function onKernelView(ViewEvent $event): void
5555
}
5656

5757
$event->setResponse($attribute->stream
58-
? new StreamedResponse(
59-
null !== $attribute->block
60-
? fn () => $this->twig->load($attribute->template)->displayBlock($attribute->block, $parameters)
61-
: fn () => $this->twig->display($attribute->template, $parameters),
62-
$status)
63-
: new Response(
64-
null !== $attribute->block
65-
? $this->twig->load($attribute->template)->renderBlock($attribute->block, $parameters)
66-
: $this->twig->render($attribute->template, $parameters),
67-
$status)
58+
? new StreamedResponse(
59+
null !== $attribute->block
60+
? fn () => $this->twig->load($attribute->template)->displayBlock($attribute->block, $parameters)
61+
: fn () => $this->twig->display($attribute->template, $parameters),
62+
$status)
63+
: new Response(
64+
null !== $attribute->block
65+
? $this->twig->load($attribute->template)->renderBlock($attribute->block, $parameters)
66+
: $this->twig->render($attribute->template, $parameters),
67+
$status)
6868
);
6969
}
7070

src/Symfony/Component/Intl/Tests/TimezonesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ public function testGetGmtOffsetAvailability(string $timezone)
618618
try {
619619
new \DateTimeZone($timezone);
620620
} catch (\Exception $e) {
621-
$this->markTestSkipped(sprintf('The timezone "%s" is not available.', $timezone));
621+
$this->markTestSkipped(\sprintf('The timezone "%s" is not available.', $timezone));
622622
}
623623

624624
// ensure each timezone identifier has a corresponding GMT offset

src/Symfony/Component/Mailer/Bridge/Mailchimp/Webhook/MailchimpRequestParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ protected function doParse(Request $request, #[\SensitiveParameter] string $secr
4141
{
4242
$content = $request->toArray();
4343
if (!isset($content['mandrill_events'][0]['event'])
44-
|| !isset($content['mandrill_events'][0]['msg'])
44+
|| !isset($content['mandrill_events'][0]['msg'])
4545
) {
4646
throw new RejectWebhookException(400, 'Payload malformed.');
4747
}

0 commit comments

Comments
 (0)