Skip to content

Commit 517e41b

Browse files
committed
[FrameworkBundle] Fix Controller deprecated when using composer --optimized
Update Controller.php Update Controller.php
1 parent 37718d5 commit 517e41b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Controller/Controller.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,12 @@
1414
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
1515
use Symfony\Component\DependencyInjection\ContainerAwareTrait;
1616

17-
@trigger_error(sprintf('The "%s" class is deprecated since Symfony 4.2, use %s instead.', Controller::class, AbstractController::class), E_USER_DEPRECATED);
18-
1917
/**
2018
* Controller is a simple implementation of a Controller.
2119
*
2220
* It provides methods to common features needed in controllers.
2321
*
24-
* @deprecated since Symfony 4.2, use {@see AbstractController} instead.
22+
* @deprecated since Symfony 4.2, use "Symfony\Bundle\FrameworkBundle\Controller\AbstractController" instead.
2523
*
2624
* @author Fabien Potencier <fabien@symfony.com>
2725
*/

0 commit comments

Comments
 (0)