File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments