Skip to content

Commit 7d68535

Browse files
committed
[FrameworkBundle][Controller] Use interface from Contracts to remove deprecation warnings
1 parent 6953f43 commit 7d68535

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Controller/AbstractController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
use Psr\Container\ContainerInterface;
1616
use Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException;
1717
use Symfony\Component\DependencyInjection\ParameterBag\ContainerBagInterface;
18-
use Symfony\Component\DependencyInjection\ServiceSubscriberInterface;
1918
use Symfony\Component\Form\FormFactoryInterface;
2019
use Symfony\Component\HttpFoundation\RequestStack;
2120
use Symfony\Component\HttpFoundation\Session\SessionInterface;
@@ -27,6 +26,7 @@
2726
use Symfony\Component\Security\Csrf\CsrfTokenManagerInterface;
2827
use Symfony\Component\Serializer\SerializerInterface;
2928
use Symfony\Component\Templating\EngineInterface;
29+
use Symfony\Contracts\Service\ServiceSubscriberInterface;
3030
use Twig\Environment;
3131

3232
/**

0 commit comments

Comments
 (0)