Skip to content

Commit bfaa54a

Browse files
MrYamousjaviereguiluz
authored andcommitted
service-container/fix-code-example
1 parent c5a4079 commit bfaa54a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

service_container.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,12 +407,11 @@ example, suppose you want to make the admin email configurable:
407407
class SiteUpdateManager
408408
{
409409
// ...
410-
+ private string $adminEmail;
411410
412411
public function __construct(
413412
private MessageGenerator $messageGenerator,
414413
private MailerInterface $mailer,
415-
+ private string $adminEmail
414+
+ private string $adminEmail
416415
) {
417416
}
418417

0 commit comments

Comments
 (0)