File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Symfony/Component/Mailer/Transport Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,11 @@ public static function fromString(string $dsn): self
42
42
}
43
43
44
44
if (!isset ($ parsedDsn ['scheme ' ])) {
45
- throw new InvalidArgumentException (sprintf ('The "%s" mailer DSN must contain a transport scheme. ' , $ dsn ));
45
+ throw new InvalidArgumentException (sprintf ('The "%s" mailer DSN must contain a scheme. ' , $ dsn ));
46
46
}
47
47
48
48
if (!isset ($ parsedDsn ['host ' ])) {
49
- throw new InvalidArgumentException (sprintf ('The "%s" mailer DSN must contain a mailer name . ' , $ dsn ));
49
+ throw new InvalidArgumentException (sprintf ('The "%s" mailer DSN must contain a host (use "default" by default) . ' , $ dsn ));
50
50
}
51
51
52
52
$ user = isset ($ parsedDsn ['user ' ]) ? urldecode ($ parsedDsn ['user ' ]) : null ;
You can’t perform that action at this time.
0 commit comments