Total Complexity | 3 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
9 | trait HasPlaces |
||
10 | { |
||
11 | protected $places = []; |
||
12 | |||
13 | /** |
||
14 | * @return array |
||
15 | */ |
||
16 | public function getPlaces(): array |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * @param array $places |
||
23 | */ |
||
24 | public function setPlaces(array $places): void |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @return array |
||
31 | * @deprecated use getPlaces |
||
32 | */ |
||
33 | public function getItemsNames() |
||
38 |