[Notifier] Only use sprintf instead of sprintf and string concat
This commit is contained in:
parent
ec09d68df1
commit
ca65c54018
@ -24,7 +24,7 @@ class IncompleteDsnException extends InvalidArgumentException
|
||||
{
|
||||
$this->dsn = $dsn;
|
||||
if ($dsn) {
|
||||
$message = sprintf('Invalid "%s" notifier DSN: ', $dsn).$message;
|
||||
$message = sprintf('Invalid "%s" notifier DSN: %s', $dsn, $message);
|
||||
}
|
||||
|
||||
parent::__construct($message, 0, $previous);
|
||||
|
Reference in New Issue
Block a user