| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | trait DescriptionTrait |
||
| 6 | { |
||
| 7 | |||
| 8 | /** |
||
| 9 | * @var StringValueNode|null |
||
| 10 | */ |
||
| 11 | protected $description; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @return StringValueNode|null |
||
| 15 | */ |
||
| 16 | public function getDescription(): ?StringValueNode |
||
| 17 | { |
||
| 18 | return $this->description; |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @return array|null |
||
| 23 | */ |
||
| 24 | public function getDescriptionAsArray(): ?array |
||
| 27 | } |
||
| 28 | } |
||
| 29 |