Skip to content

Commit 4a75e85

Browse files
committed
Merge branch '6.0' into 6.1
* 6.0: [DependencyInjection] remove static cache from `ServiceSubscriberTrait`
2 parents a4a823e + 75f4059 commit 4a75e85

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Service/ServiceSubscriberTrait.php

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

4236
foreach ((new \ReflectionClass(self::class))->getMethods() as $method) {

0 commit comments

Comments
 (0)