Total Complexity | 5 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | final class TeamMember extends Model |
||
10 | { |
||
11 | 3 | public function getTeamId(): ?string |
|
12 | { |
||
13 | 3 | return $this->data['team_id']; |
|
14 | } |
||
15 | |||
16 | 3 | public function getUserId(): ?string |
|
17 | { |
||
18 | 3 | return $this->data['user_id']; |
|
19 | } |
||
20 | |||
21 | 3 | public function getCreateAt(): ?int |
|
22 | { |
||
23 | 3 | return $this->data['create_at']; |
|
24 | } |
||
25 | |||
26 | 3 | public function getRoles(): ?string |
|
29 | } |
||
30 | |||
31 | 4 | protected static function getFields(): array |
|
32 | { |
||
41 |