Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 27383a5

Browse filesBrowse files
committed
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 ------- 954dad4 Fixed incompatibility between ServiceSubscriberTrait and classes with protected $container property
2 parents 13ff9f9 + 954dad4 commit 27383a5
Copy full SHA for 27383a5

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/Symfony/Contracts/Service/ServiceSubscriberTrait.php

Copy file name to clipboardExpand all lines: src/Symfony/Contracts/Service/ServiceSubscriberTrait.php
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.