From b6f225c154d3be7dec657dc105a55a3154239361 Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Sat, 14 Oct 2023 11:49:31 +0200 Subject: [PATCH] Fix --- src/Block/LocaleSwitcherBlockService.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Block/LocaleSwitcherBlockService.php b/src/Block/LocaleSwitcherBlockService.php index 341b7488..c13208b3 100644 --- a/src/Block/LocaleSwitcherBlockService.php +++ b/src/Block/LocaleSwitcherBlockService.php @@ -50,8 +50,6 @@ public function execute(BlockContextInterface $blockContext, ?Response $response { $template = $blockContext->getTemplate(); - \assert(\is_string($template)); - return $this->renderResponse($template, [ 'block_context' => $blockContext, 'block' => $blockContext->getBlock(),