8000 Merge branch '4.4' into 5.4 · symfony/symfony@834e57a · GitHub
[go: up one dir, main page]

Skip to content

Commit 834e57a

Browse files
committed
Merge branch '4.4' into 5.4
* 4.4: [DependencyInjection] remove static cache from `ServiceSubscriberTrait`
2 parents d1f4213 + 61f38c7 commit 834e57a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Symfony/Contracts/Service/ServiceSubscriberTrait.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,6 @@ trait ServiceSubscriberTrait
3030
*/
3131
public static function getSubscribedServices(): array
3232
{
33-
static $services;
34-
35-
if (null !== $services) {
36-
return $services;
37-
}
38-
3933
$services = method_exists(get_parent_class(self::class) ?: '', __FUNCTION__) ? parent::getSubscribedServices() : [];
4034
$attributeOptIn = false;
4135

0 commit comments

Comments
 (0)
0