Skip to content

Commit 86d35d3

Browse files
authored
Update lazy_services.rst
Update verbage to match the code example
1 parent 8f0f789 commit 86d35d3

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
@@ -116,7 +116,7 @@ You can also configure laziness when your service is injected with the
116116
}
117117

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

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

0 commit comments

Comments
 (0)