Skip to content

Commit b7f3c6f

Browse files
committed
minor #19578 Fix wording of code example blurb in lazy_services.rst (adrolter)
This PR was submitted for the 7.0 branch but it was merged into the 6.4 branch instead. Discussion ---------- Fix wording of code example blurb in lazy_services.rst The code example shows how one member of a union type, and not an intersection type as stated, can be targeted with `#[Autowire(lazy: ...)]`. Commits ------- 2013117 Update lazy_services.rst
2 parents d4e81be + 2013117 commit b7f3c6f

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)