Skip to content

Commit ebd7af4

Browse files
committed
Rephrase parameter description
1 parent 2c7dc81 commit ebd7af4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

service_container/lazy_services.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,11 @@ Another possibility is to use the :class:`Symfony\\Component\\DependencyInjectio
137137
// ...
138138
}
139139

140-
This attribute can be used on a class or on an argument which should be lazy-loaded, and has a `lazy` parameter
140+
This attribute can be used on a class or on an argument which should be lazy-loaded, and has a parameter
141141
that also supports defining interfaces to proxy and intersection types::
142142

143143
public function __construct(
144-
#[Lazy(lazy: FooInterface::class)]
144+
#[Lazy(FooInterface::class)]
145145
FooInterface|BarInterface $foo,
146146
) {
147147
}

0 commit comments

Comments
 (0)