Skip to content

Commit 2013117

Browse files
adrolterjaviereguiluz
authored andcommitted
Update lazy_services.rst
Update verbage to match the code example
1 parent d4e81be commit 2013117

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service_container/lazy_services.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ You can also configure laziness when your service is injected with the
121121
}
122122

123123
This attribute also allows you to define the interfaces to proxy when using
124-
laziness, and supports lazy-autowiring of intersection types::
124+
laziness, and supports lazy-autowiring of union types::
125125

126126
public function __construct(
127127
#[Autowire(service: 'foo', lazy: FooInterface::class)]

0 commit comments

Comments
 (0)