Skip to content

Commit 2e355be

Browse files
committed
Merge branch '6.2' into 6.3
* 6.2: Fixed missing quotes on service subscribers
2 parents fa6fd41 + 044b189 commit 2e355be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service_container/service_subscribers_locators.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ This is done by having ``getSubscribedServices()`` return an array of
279279
new SubscribedService('logger', LoggerInterface::class, attributes: new Autowire(service: 'monolog.logger.event')),
280280

281281
// can event use parameters
282-
new SubscribedService('env', string, attributes: new Autowire('%kernel.environment%')),
282+
new SubscribedService('env', 'string', attributes: new Autowire('%kernel.environment%')),
283283

284284
// Target
285285
new SubscribedService('event.logger', LoggerInterface::class, attributes: new Target('eventLogger')),

0 commit comments

Comments
 (0)