Skip to content

Commit d9031ae

Browse files
committed
Merge branch '7.0' into 7.1
* 7.0: -
2 parents bb99f55 + 28cff68 commit d9031ae

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
@@ -631,11 +631,11 @@ The ``#[Autowire]`` attribute can also be used for :ref:`parameters <service-par
631631

632632
// expressions
633633
#[Autowire(expression: 'service("App\\\Mail\\\MailerConfiguration").getMailerMethod()')]
634-
string $mailerMethod
634+
string $mailerMethod,
635635

636636
// environment variables
637637
#[Autowire(env: 'SOME_ENV_VAR')]
638-
string $senderName
638+
string $senderName,
639639
) {
640640
}
641641
// ...

0 commit comments

Comments
 (0)