Skip to content

Commit 2cf2266

Browse files
committed
cs
1 parent 13312eb commit 2cf2266

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
@@ -196,7 +196,7 @@ protected function write($line, $expectedCode = null, $message = null)
196196
if ($expectedCode) {
197197
$response = $this->read();
198198
if (!in_array((int) $response, (array) $expectedCode, true)) {
199-
throw new SmtpException('SMTP server did not accept ' . ($message ? $message : $line) . ' with error: ' . trim($response));
199+
throw new SmtpException('SMTP server did not accept ' . ($message ?: $line) . ' with error: ' . trim($response));
200200
}
201201
}
202202
}

0 commit comments

Comments
 (0)