From bfaa54a93408b1d5f9d33352028b0c6782cd153a Mon Sep 17 00:00:00 2001 From: Matthieu Lempereur Date: Fri, 27 Sep 2024 08:49:47 +0200 Subject: [PATCH] service-container/fix-code-example --- service_container.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/service_container.rst b/service_container.rst index ff7a60d441b..1f3a248dbe5 100644 --- a/service_container.rst +++ b/service_container.rst @@ -407,12 +407,11 @@ example, suppose you want to make the admin email configurable: class SiteUpdateManager { // ... - + private string $adminEmail; public function __construct( private MessageGenerator $messageGenerator, private MailerInterface $mailer, - + private string $adminEmail + + private string $adminEmail ) { }