[FrameworkBundle] Add type hint for ContainerInterface to ControllerTrait

This commit is contained in:
Mathias Geat 2017-05-05 12:24:11 +02:00
parent 51ad8cb9d6
commit 7f416ede17

View File

@ -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
{