Fixed incompatibility between ServiceSubscriberTrait and classes with protected $container property

This commit is contained in:
Zmey 2019-09-09 18:56:16 +03:00 committed by Fabien Potencier
parent 5a06f94c08
commit 954dad44a1

View File

@ -22,7 +22,7 @@ use Psr\Container\ContainerInterface;
trait ServiceSubscriberTrait
{
/** @var ContainerInterface */
private $container;
protected $container;
public static function getSubscribedServices(): array
{