Skip to content

Commit e05c5b1

Browse files
committed
-
1 parent 31a435d commit e05c5b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

service_container/autowiring.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -635,11 +635,11 @@ The ``#[Autowire]`` attribute can also be used for :ref:`parameters <service-par
635635

636636
// expressions
637637
#[Autowire(expression: 'service("App\\\Mail\\\MailerConfiguration").getMailerMethod()')]
638-
string $mailerMethod
638+
string $mailerMethod,
639639

640640
// environment variables
641641
#[Autowire(env: 'SOME_ENV_VAR')]
642-
string $senderName
642+
string $senderName,
643643
) {
644644
}
645645
// ...

0 commit comments

Comments
 (0)