Skip to content

Commit e43afbf

Browse files
Removing string processor
1 parent 1f459b1 commit e43afbf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mailer.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ over SMTP by configuring the DSN in your ``.env`` file (the ``user``,
3333
# config/packages/mailer.yaml
3434
framework:
3535
mailer:
36-
dsn: '%env(string:MAILER_DSN)%'
36+
dsn: '%env(MAILER_DSN)%'
3737
3838
.. code-block:: xml
3939
@@ -47,7 +47,7 @@ over SMTP by configuring the DSN in your ``.env`` file (the ``user``,
4747
http://symfony.com/schema/dic/symfony https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
4848
4949
<framework:config>
50-
<framework:mailer dsn="%env(string:MAILER_DSN)%"/>
50+
<framework:mailer dsn="%env(MAILER_DSN)%"/>
5151
</framework:config>
5252
</container>
5353
@@ -58,7 +58,7 @@ over SMTP by configuring the DSN in your ``.env`` file (the ``user``,
5858
use Symfony\Config\FrameworkConfig;
5959
6060
return static function (FrameworkConfig $frameworkConfig): void {
61-
$frameworkConfig->mailer()->dsn(env('MAILER_DSN')->string());
61+
$frameworkConfig->mailer()->dsn(env('MAILER_DSN'));
6262
};
6363
6464
.. caution::

0 commit comments

Comments
 (0)