| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class AnotherRegistry implements AnotherRegistryInterface |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var array |
||
| 20 | */ |
||
| 21 | private $data; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param string $item |
||
| 25 | */ |
||
| 26 | public function setData(string $item) |
||
| 27 | { |
||
| 28 | $this->data[] = $item; |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @return array |
||
| 33 | */ |
||
| 34 | public function getData(): array |
||
| 37 | } |
||
| 38 | } |
||
| 39 |