| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 26 | trait CommentTrait |
||
| 27 | { |
||
| 28 | |||
| 29 | abstract public function getArchive(): ?ZipArchive; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Set the comment for the current archive |
||
| 33 | * |
||
| 34 | * @return ZipInterface |
||
| 35 | */ |
||
| 36 | 1 | public function setComment(string $comment): ZipInterface |
|
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Get the current zip archive comment |
||
| 44 | * |
||
| 45 | * @return string |
||
| 46 | */ |
||
| 47 | 2 | public function getComment(): ?string |
|
| 52 |