| Total Complexity | 5 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | trait DescriptionTrait |
||
| 8 | { |
||
| 9 | |||
| 10 | /** |
||
| 11 | * @var StringValueNode|null |
||
| 12 | */ |
||
| 13 | protected $description; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @return StringValueNode|null |
||
| 17 | */ |
||
| 18 | public function getDescription(): ?StringValueNode |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @return null|string |
||
| 25 | */ |
||
| 26 | public function getDescriptionValue(): ?string |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @return array|null |
||
| 33 | */ |
||
| 34 | public function getDescriptionAsArray(): ?array |
||
| 39 |