Skip to content

Commit 7b3d7d5

Browse files
committed
Fix CS
1 parent dae1a8a commit 7b3d7d5

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

Resources/config/security_csrf.php

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,14 @@
1111

1212
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
1313

14-
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
15-
use Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator;
14+
use Symfony\Bridge\Twig\Extension\CsrfExtension;
15+
use Symfony\Bridge\Twig\Extension\CsrfRuntime;
16+
use Symfony\Component\Security\Csrf\CsrfTokenManager;
17+
use Symfony\Component\Security\Csrf\CsrfTokenManagerInterface;
1618
use Symfony\Component\Security\Csrf\TokenGenerator\TokenGeneratorInterface;
19+
use Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator;
1720
use Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage;
1821
use Symfony\Component\Security\Csrf\TokenStorage\TokenStorageInterface;
19-
use Symfony\Component\Security\Csrf\CsrfTokenManager;
20-
use Symfony\Component\Security\Csrf\CsrfTokenManagerInterface;
21-
use Symfony\Bridge\Twig\Extension\CsrfRuntime;
22-
use Symfony\Bridge\Twig\Extension\CsrfExtension;
2322

2423
return static function (ContainerConfigurator $container) {
2524
$container->services()
@@ -37,7 +36,7 @@
3736
->args([
3837
service('security.csrf.token_generator'),
3938
service('security.csrf.token_storage'),
40-
service('request_stack')->ignoreOnInvalid()
39+
service('request_stack')->ignoreOnInvalid(),
4140
])
4241

4342
->alias(CsrfTokenManagerInterface::class, 'security.csrf.token_manager')

0 commit comments

Comments
 (0)