| Conditions | 3 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 3 |
| Changes | 0 | ||
| 1 | <?php |
||
| 65 | 5 | protected function createStream(): StreamInterface |
|
| 66 | { |
||
| 67 | 5 | return new StringStream( |
|
| 68 | 5 | sprintf( |
|
| 69 | 5 | 'APPEND %s %s%s{%s}', |
|
| 70 | 5 | (string)$this->mailbox, |
|
| 71 | 5 | $this->flags ? (string)$this->flags . ' ' : '', |
|
| 72 | 5 | $this->internalDate ? '"'.$this->internalDate->format('d-D-Y H:i:sO') . '" ' : '', |
|
| 73 | 5 | (string)$this->size |
|
| 74 | ) |
||
| 75 | ); |
||
| 76 | } |
||
| 77 | |||
| 85 | } |