@@ -86,7 +86,7 @@ |
||
86 | 86 | )); |
87 | 87 | } |
88 | 88 | |
89 | - $content = (string)$message; |
|
89 | + $content = (string) $message; |
|
90 | 90 | $file = $this->path . date('YmdHis') . '-' . md5(uniqid()) . '.txt'; |
91 | 91 | if (!file_put_contents($file, $content)) { |
92 | 92 | throw new FileTransportException(sprintf( |
@@ -78,7 +78,7 @@ |
||
78 | 78 | */ |
79 | 79 | public function send(MessageInterface $message): bool |
80 | 80 | { |
81 | - $content = (string)$message; |
|
81 | + $content = (string) $message; |
|
82 | 82 | |
83 | 83 | $from = $message->getFrom(); |
84 | 84 |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | $this->body = ''; |
157 | 157 | $this->attachments = []; |
158 | 158 | $this->headers = []; |
159 | - $this->uid = md5(uniqid((string)time())); |
|
159 | + $this->uid = md5(uniqid((string) time())); |
|
160 | 160 | $this->wrap = 70; |
161 | 161 | $this->priority = 3; |
162 | 162 | |
@@ -639,7 +639,7 @@ discard block |
||
639 | 639 | */ |
640 | 640 | protected function encodeUtf8(?string $value): string |
641 | 641 | { |
642 | - $value = trim((string)$value); |
|
642 | + $value = trim((string) $value); |
|
643 | 643 | if (preg_match('/(\s)/', $value)) { |
644 | 644 | return $this->encodeUtf8Words($value); |
645 | 645 | } |