8000 [Notifier] Only use sprintf instead of sprintf and string concat · symfony/symfony@ca65c54 · GitHub
[go: up one dir, main page]

Skip to content

Commit ca65c54

Browse files
OskarStarknicolas-grekas
authored andcommitted
[Notifier] Only use sprintf instead of sprintf and string concat
1 parent ec09d68 commit ca65c54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Notifier/Exception/IncompleteDsnException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct(string $message, string $dsn = null, ?\Throwable $pr
2424
{
2525
$this->dsn = $dsn;
2626
if ($dsn) {
27-
$message = sprintf('Invalid "%s" notifier DSN: ', $dsn).$message;
27+
$message = sprintf('Invalid "%s" notifier DSN: %s', $dsn, $message);
2828
}
2929

3030
parent::__construct($message, 0, $previous);

0 commit comments

Comments
 (0)
0