@@ -68,12 +68,12 @@ |
||
| 68 | 68 | if ($this->tell() !== 0) { |
| 69 | 69 | $next = $this->lineLength - ($this->position % ($this->lineLength + $this->lineEndingLength)); |
| 70 | 70 | if (strlen($string) > $next) { |
| 71 | - $firstLine = substr($string, 0, $next) . $this->lineEnding; |
|
| 71 | + $firstLine = substr($string, 0, $next).$this->lineEnding; |
|
| 72 | 72 | $string = substr($string, $next); |
| 73 | 73 | } |
| 74 | 74 | } |
| 75 | 75 | // chunk_split always ends with the passed line ending |
| 76 | - $chunked = $firstLine . chunk_split($string, $this->lineLength, $this->lineEnding); |
|
| 76 | + $chunked = $firstLine.chunk_split($string, $this->lineLength, $this->lineEnding); |
|
| 77 | 77 | return substr($chunked, 0, strlen($chunked) - $this->lineEndingLength); |
| 78 | 78 | } |
| 79 | 79 | |
@@ -154,7 +154,7 @@ |
||
| 154 | 154 | */ |
| 155 | 155 | public function write($string) |
| 156 | 156 | { |
| 157 | - $bytes = $this->remainder . $string; |
|
| 157 | + $bytes = $this->remainder.$string; |
|
| 158 | 158 | $len = strlen($bytes); |
| 159 | 159 | if (($len % 3) !== 0) { |
| 160 | 160 | $this->remainder = substr($bytes, -($len % 3)); |