File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ over SMTP by configuring the DSN in your ``.env`` file (the ``user``,
33
33
# config/packages/mailer.yaml
34
34
framework :
35
35
mailer :
36
- dsn : ' %env(string: MAILER_DSN)%'
36
+ dsn : ' %env(MAILER_DSN)%'
37
37
38
38
.. code-block :: xml
39
39
@@ -47,7 +47,7 @@ over SMTP by configuring the DSN in your ``.env`` file (the ``user``,
47
47
http://symfony.com/schema/dic/symfony https://symfony.com/schema/dic/symfony/symfony-1.0.xsd" >
48
48
49
49
<framework : config >
50
- <framework : mailer dsn =" %env(string: MAILER_DSN)%" />
50
+ <framework : mailer dsn =" %env(MAILER_DSN)%" />
51
51
</framework : config >
52
52
</container >
53
53
@@ -58,7 +58,7 @@ over SMTP by configuring the DSN in your ``.env`` file (the ``user``,
58
58
use Symfony\Config\FrameworkConfig;
59
59
60
60
return static function (FrameworkConfig $frameworkConfig): void {
61
- $frameworkConfig->mailer()->dsn(env('MAILER_DSN')->string() );
61
+ $frameworkConfig->mailer()->dsn(env('MAILER_DSN'));
62
62
};
63
63
64
64
.. caution ::
You can’t perform that action at this time.
0 commit comments