| Conditions | 6 |
| Paths | 8 |
| Total Lines | 28 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | /** |
||
| 18 | * @param \JiraRestApi\Issue\DescriptionV3|null $description |
||
| 19 | * |
||
| 20 | * @return $this|IssueField |
||
| 21 | */ |
||
| 22 | public function setDescription($description) |
||
| 23 | { |
||
| 24 | $this->description = $description; |
||
| 25 | |||
| 26 | return $this; |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param \JiraRestApi\Issue\DescriptionV3|null $description |
||
| 31 | * |
||
| 32 | * @return $this |
||
| 33 | */ |
||
| 34 | public function addDescriptionParagraph($description) |
||
| 35 | { |
||
| 36 | if (empty($this->description)) { |
||
| 37 | $this->description = new DescriptionV3(); |
||
| 38 | } |
||
| 39 | |||
| 40 | $this->description->addDescriptionContent('paragraph', $description); |
||
| 41 | |||
| 42 | return $this; |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 76 |