@@ -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 |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | $this->body = ''; |
152 | 152 | $this->attachments = []; |
153 | 153 | $this->headers = []; |
154 | - $this->uid = md5(uniqid((string)time())); |
|
154 | + $this->uid = md5(uniqid((string) time())); |
|
155 | 155 | $this->wrap = 78; |
156 | 156 | $this->priority = 3; |
157 | 157 | |
@@ -634,7 +634,7 @@ discard block |
||
634 | 634 | */ |
635 | 635 | protected function encodeUtf8(?string $value): string |
636 | 636 | { |
637 | - $value = trim((string)$value); |
|
637 | + $value = trim((string) $value); |
|
638 | 638 | if (preg_match('/(\s)/', $value)) { |
639 | 639 | return $this->encodeUtf8Words($value); |
640 | 640 | } |