bug #33521 Fixed incompatibility between ServiceSubscriberTrait and classes with protected $container property (a-menshchikov)
This PR was squashed before being merged into the 4.3 branch (closes #33521).
Discussion
----------
Fixed incompatibility between ServiceSubscriberTrait and classes with protected $container property
| Q | A
| ------------- | ---
| Branch? | 4.3
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #33355
| License | MIT
| Doc PR |
Commits
-------
954dad44a1
Fixed incompatibility between ServiceSubscriberTrait and classes with protected $container property
This commit is contained in:
commit
27383a5ca8
@ -22,7 +22,7 @@ use Psr\Container\ContainerInterface;
|
||||
trait ServiceSubscriberTrait
|
||||
{
|
||||
/** @var ContainerInterface */
|
||||
private $container;
|
||||
protected $container;
|
||||
|
||||
public static function getSubscribedServices(): array
|
||||
{
|
||||
|
Reference in New Issue
Block a user