@@ -44,11 +44,11 @@ discard block |
||
| 44 | 44 | */ |
| 45 | 45 | private function readEncodedChars($length, $pre = '') |
| 46 | 46 | { |
| 47 | - $str = $pre . $this->readRaw($length); |
|
| 47 | + $str = $pre.$this->readRaw($length); |
|
| 48 | 48 | $len = strlen($str); |
| 49 | 49 | if ($len > 0 && !preg_match('/^[0-9a-f]{2}$|^[\r\n].$/is', $str)) { |
| 50 | 50 | $this->seekRaw(-$len, SEEK_CUR); |
| 51 | - return '3D'; // '=' character |
|
| 51 | + return '3D'; // '=' character |
|
| 52 | 52 | } |
| 53 | 53 | return $str; |
| 54 | 54 | } |
@@ -138,7 +138,7 @@ discard block |
||
| 138 | 138 | public function write($string) |
| 139 | 139 | { |
| 140 | 140 | $encodedLine = quoted_printable_encode($this->lastLine); |
| 141 | - $lineAndString = rtrim(quoted_printable_encode($this->lastLine . $string), "\r\n"); |
|
| 141 | + $lineAndString = rtrim(quoted_printable_encode($this->lastLine.$string), "\r\n"); |
|
| 142 | 142 | $write = substr($lineAndString, strlen($encodedLine)); |
| 143 | 143 | $this->writeRaw($write); |
| 144 | 144 | $written = strlen($string); |