Total Complexity | 3 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | trait ManagesProjects |
||
9 | { |
||
10 | use TransformsProjects; |
||
11 | |||
12 | /** |
||
13 | * Get a list of of projects. |
||
14 | * |
||
15 | * @param int $accountId |
||
16 | * @return Project[] |
||
17 | */ |
||
18 | 7 | public function projects(int $accountId): array |
|
25 | } |
||
26 | |||
27 | /** |
||
28 | * Get a single project. |
||
29 | * |
||
30 | * @param int $accountId |
||
31 | * @param int $id |
||
32 | * @return Project |
||
33 | */ |
||
34 | 1 | public function project(int $accountId, int $id): Project |
|
41 |