Skip to content

Commit e518877

Browse files
committed
cs
1 parent f0a07a7 commit e518877

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mail/SmtpMailer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ protected function write(string $line, $expectedCode = null, string $message = n
193193
if ($expectedCode) {
194194
$response = $this->read();
195195
if (!in_array((int) $response, (array) $expectedCode, true)) {
196-
throw new SmtpException('SMTP server did not accept ' . ($message ? $message : $line) . ' with error: ' . trim($response));
196+
throw new SmtpException('SMTP server did not accept ' . ($message ?: $line) . ' with error: ' . trim($response));
197197
}
198198
}
199199
}

0 commit comments

Comments
 (0)