Skip to content

Commit a304d79

Browse files
Merge branch '3.4' into 4.4
* 3.4: Various cleanups
1 parent 3c70c1f commit a304d79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Transport/Smtp/Stream/SocketStream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public function initialize(): void
135135
$streamContext = stream_context_create($options);
136136

137137
set_error_handler(function ($type, $msg) {
138-
throw new TransportException(sprintf('Connection could not be established with host "%s": '.$msg, $this->url));
138+
throw new TransportException(sprintf('Connection could not be established with host "%s": ', $this->url).$msg);
139139
});
140140
try {
141141
$this->stream = stream_socket_client($this->url, $errno, $errstr, $this->timeout, STREAM_CLIENT_CONNECT, $streamContext);

0 commit comments

Comments
 (0)