Skip to content

Commit 20ea3a6

Browse files
OskarStarknicolas-grekas
authored andcommitted
[Notifier] Only use sprintf instead of sprintf and string concat
1 parent 6d58532 commit 20ea3a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)