Total Complexity | 3 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | final class Promotion extends ActiveRecord |
||
11 | { |
||
12 | public int $id; |
||
13 | /** @var int[] $item_ids */ |
||
14 | public array $item_ids; |
||
15 | public string $title; |
||
16 | |||
17 | public function getTableName(): string |
||
20 | } |
||
21 | |||
22 | public function relationQuery(string $name): ActiveQueryInterface |
||
27 | }; |
||
28 | } |
||
29 | |||
30 | /** @return Item[] */ |
||
31 | public function getItems(): array |
||
36 |