| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class ArrayDoc extends CollectionDoc |
||
| 8 | { |
||
| 9 | /** @var TypeDoc|null */ |
||
| 10 | private $itemValidation = null; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @param TypeDoc $itemValidation |
||
| 14 | * |
||
| 15 | * @return self |
||
| 16 | */ |
||
| 17 | 2 | public function setItemValidation(TypeDoc $itemValidation) : self |
|
| 18 | { |
||
| 19 | 2 | $this->itemValidation = $itemValidation; |
|
| 20 | |||
| 21 | 2 | return $this; |
|
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @return TypeDoc|null |
||
| 26 | */ |
||
| 27 | 6 | public function getItemValidation() : ?TypeDoc |
|
| 30 | } |
||
| 31 | } |
||
| 32 |