Skip to content

Commit

Permalink
Update WebTestCase to be compatible with Symfony 7
Browse files Browse the repository at this point in the history
  • Loading branch information
stof committed Oct 21, 2024
1 parent 4907baf commit 30da108
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/WebTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Bazinga\Bundle\JsTranslationBundle\Tests;

use Symfony\Bundle\FrameworkBundle\Test\WebTestCase as BaseWebTestCase;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Container;
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\HttpKernel\KernelInterface;
Expand All @@ -21,7 +21,7 @@ protected function deleteTmpDir()
$fs->remove($dir);
}

protected static function getContainer(): ContainerInterface
protected static function getContainer(): Container
{
if (!static::$kernel) {
static::$kernel = static::createKernel();
Expand Down

0 comments on commit 30da108

Please sign in to comment.