Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Oct 14, 2023
1 parent 4ef01ea commit b6f225c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Block/LocaleSwitcherBlockService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit b6f225c

Please sign in to comment.