Closed
Description
Originally posted by @OskarStark in #39457 (comment)
Oh I've done that, but we have a "bigger" problem here.
symfony/src/Symfony/Component/Notifier/Transport/Dsn.php
Lines 104 to 107 in 026da8b
should return string
, but it contains null
whenever you instantiate the Dsn
class vie new
instead of fromString()
symfony/src/Symfony/Component/Notifier/Transport/Dsn.php
Lines 63 to 64 in 026da8b
One option could be to change the return type to ?string
or make the constructor private and only instantiate through fromString
. Currently new Dsn(...)
is only used in tests. 🤔