Skip to content

Commit e944ab1

Browse files
committed
Using the correct service id
1 parent 46f0979 commit e944ab1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Resources/config/services/admin.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
1313

14+
use Symfony\Component\Security\Csrf\TokenStorage\TokenStorageInterface;
1415
use function Symfony\Component\DependencyInjection\Loader\Configurator\service;
1516

1617
return static function(ContainerConfigurator $container) {
@@ -44,7 +45,7 @@
4445
->public()
4546
->args([
4647
service('fos_rest.view_handler.default'),
47-
service('security.token_storage'),
48+
service(TokenStorageInterface::class),
4849
service('sulu_form.manager.form'),
4950
service('sulu_core.doctrine_rest_helper'),
5051
service('sulu_core.doctrine_list_builder_factory'),

0 commit comments

Comments
 (0)