Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 31d0e47

Browse files
authored
Update AbstractStream.php
1 parent 02a9d19 commit 31d0e47

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Symfony/Component/Mailer/Transport/Smtp/Stream/AbstractStream.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ abstract class AbstractStream
3636
public function write(string $bytes, bool $debug = true): void
3737
{
3838
if ($debug) {
39+
$timestamp = date('c');
3940
foreach (explode("\n", trim($bytes)) as $line) {
40-
$this->debug .= sprintf("[%s] > %s\n", date('c'), $line);
41+
$this->debug .= sprintf("[%s] > %s\n", $timestamp, $line);
4142
}
4243
}
4344

0 commit comments

Comments
 (0)