@@ -88,11 +88,11 @@ discard block |
||
| 88 | 88 | */ |
| 89 | 89 | private function readEncodedChars($length, $pre = '') |
| 90 | 90 | { |
| 91 | - $str = $pre . $this->stream->read($length); |
|
| 91 | + $str = $pre.$this->stream->read($length); |
|
| 92 | 92 | $len = strlen($str); |
| 93 | 93 | if ($len > 0 && !preg_match('/^[0-9a-f]{2}$|^[\r\n].$/is', $str) && $this->stream->isSeekable()) { |
| 94 | 94 | $this->stream->seek(-$len, SEEK_CUR); |
| 95 | - return '3D'; // '=' character |
|
| 95 | + return '3D'; // '=' character |
|
| 96 | 96 | } |
| 97 | 97 | return $str; |
| 98 | 98 | } |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | public function write($string) |
| 183 | 183 | { |
| 184 | 184 | $encodedLine = quoted_printable_encode($this->lastLine); |
| 185 | - $lineAndString = rtrim(quoted_printable_encode($this->lastLine . $string), "\r\n"); |
|
| 185 | + $lineAndString = rtrim(quoted_printable_encode($this->lastLine.$string), "\r\n"); |
|
| 186 | 186 | $write = substr($lineAndString, strlen($encodedLine)); |
| 187 | 187 | $this->stream->write($write); |
| 188 | 188 | $written = strlen($string); |