Skip to content

Commit 4785b30

Browse files
a-menshchikovfabpot
authored andcommitted
Fixed incompatibility between ServiceSubscriberTrait and classes with protected $container property
1 parent ad4da61 commit 4785b30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Service/ServiceSubscriberTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
trait ServiceSubscriberTrait
2323
{
2424
/** @var ContainerInterface */
25-
private $container;
25+
protected $container;
2626

2727
public static function getSubscribedServices(): array
2828
{

0 commit comments

Comments
 (0)