@@ -161,11 +161,11 @@ discard block |
||
| 161 | 161 | if ($this->writePosition !== 0) { |
| 162 | 162 | $next = 76 - ($this->writePosition % 78); |
| 163 | 163 | if (strlen($encoded) > $next) { |
| 164 | - $firstLine = substr($encoded, 0, $next) . "\r\n"; |
|
| 164 | + $firstLine = substr($encoded, 0, $next)."\r\n"; |
|
| 165 | 165 | $encoded = substr($encoded, $next); |
| 166 | 166 | } |
| 167 | 167 | } |
| 168 | - $write = $firstLine . rtrim(chunk_split($encoded, 76)); |
|
| 168 | + $write = $firstLine.rtrim(chunk_split($encoded, 76)); |
|
| 169 | 169 | $this->writePosition += strlen($write); |
| 170 | 170 | return $write; |
| 171 | 171 | } |
@@ -188,7 +188,7 @@ discard block |
||
| 188 | 188 | */ |
| 189 | 189 | public function write($string) |
| 190 | 190 | { |
| 191 | - $bytes = $this->remainder . $string; |
|
| 191 | + $bytes = $this->remainder.$string; |
|
| 192 | 192 | $len = strlen($bytes); |
| 193 | 193 | if (($len % 3) !== 0) { |
| 194 | 194 | $this->remainder = substr($bytes, -($len % 3)); |
@@ -201,8 +201,8 @@ |
||
| 201 | 201 | */ |
| 202 | 202 | private function writeUUFooter() |
| 203 | 203 | { |
| 204 | - $this->writeRaw("\r\n`\r\nend"); |
|
| 205 | - $this->footerWritten = true; |
|
| 204 | + $this->writeRaw("\r\n`\r\nend"); |
|
| 205 | + $this->footerWritten = true; |
|
| 206 | 206 | } |
| 207 | 207 | |
| 208 | 208 | /** |