We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0533519 + 834e57a commit 9ef53cbCopy full SHA for 9ef53cb
src/Symfony/Contracts/Service/ServiceSubscriberTrait.php
@@ -30,12 +30,6 @@ trait ServiceSubscriberTrait
30
*/
31
public static function getSubscribedServices(): array
32
{
33
- static $services;
34
-
35
- if (null !== $services) {
36
- return $services;
37
- }
38
39
$services = method_exists(get_parent_class(self::class) ?: '', __FUNCTION__) ? parent::getSubscribedServices() : [];
40
41
foreach ((new \ReflectionClass(self::class))->getMethods() as $method) {
0 commit comments