@@ -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 |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | $this->body = ''; |
156 | 156 | $this->attachments = []; |
157 | 157 | $this->headers = []; |
158 | - $this->uid = md5(uniqid((string)time())); |
|
158 | + $this->uid = md5(uniqid((string) time())); |
|
159 | 159 | $this->wrap = 70; |
160 | 160 | $this->priority = 3; |
161 | 161 | |
@@ -645,7 +645,7 @@ discard block |
||
645 | 645 | */ |
646 | 646 | protected function encodeUtf8(?string $value): string |
647 | 647 | { |
648 | - $valueClean = trim((string)$value); |
|
648 | + $valueClean = trim((string) $value); |
|
649 | 649 | if (preg_match('/(\s)/', $valueClean)) { |
650 | 650 | return $this->encodeUtf8Words($valueClean); |
651 | 651 | } |