[FrameworkBundle] Add type hint for ContainerInterface to ControllerTrait
This commit is contained in:
parent
51ad8cb9d6
commit
7f416ede17
@ -11,6 +11,7 @@
|
||||
|
||||
namespace Symfony\Bundle\FrameworkBundle\Controller;
|
||||
|
||||
use Psr\Container\ContainerInterface;
|
||||
use Symfony\Component\HttpFoundation\BinaryFileResponse;
|
||||
use Symfony\Component\HttpFoundation\JsonResponse;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
@ -33,6 +34,8 @@ use Doctrine\Bundle\DoctrineBundle\Registry;
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @internal
|
||||
*
|
||||
* @property ContainerInterface $container
|
||||
*/
|
||||
trait ControllerTrait
|
||||
{
|
||||
|
Reference in New Issue
Block a user