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 6e64900
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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
1 change: 1 addition & 0 deletions src/DependencyInjection/SonataTranslationExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
use Symfony\Component\Config\Definition\Processor;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Loader\PhpFileLoader;
use Symfony\Component\DependencyInjection\Reference;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
Expand Down

0 comments on commit 6e64900

Please sign in to comment.