Skip to content

Commit 9958f5a

Browse files
keradusnicolas-grekas
authored andcommitted
CS: apply minor indentation fixes
1 parent b54c02c commit 9958f5a

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

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

0 commit comments

Comments
 (0)