Skip to content

Commit ae343bc

Browse files
scope singly-implemented interfaces detection by file
1 parent 9b27b5f commit ae343bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service_container/autowiring.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ dealing with the ``TransformerInterface``.
339339

340340
When using a `service definition prototype`_, if only one service is
341341
discovered that implements an interface, and that interface is also
342-
discovered at the same time, configuring the alias is not mandatory
342+
discovered in the same file, configuring the alias is not mandatory
343343
and Symfony will automatically create one.
344344

345345
Dealing with Multiple Implementations of the Same Type

0 commit comments

Comments
 (0)