diff --git a/service_container/lazy_services.rst b/service_container/lazy_services.rst index 905c4b3a599..a29e7ca691e 100644 --- a/service_container/lazy_services.rst +++ b/service_container/lazy_services.rst @@ -121,7 +121,7 @@ You can also configure laziness when your service is injected with the } This attribute also allows you to define the interfaces to proxy when using -laziness, and supports lazy-autowiring of intersection types:: +laziness, and supports lazy-autowiring of union types:: public function __construct( #[Autowire(service: 'foo', lazy: FooInterface::class)]