Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 91.67% |
Changes | 0 |
1 | <?php |
||
24 | trait UsersAssociatedTrait |
||
25 | { |
||
26 | /** |
||
27 | * create new related User Associated instance dynamicly |
||
28 | * @param Users $user |
||
29 | * @param Companies $company |
||
30 | * @return void |
||
31 | * @todo Find a better way to handle namespaces for models |
||
32 | */ |
||
33 | 4 | public function associate(Users $user, Companies $company): array |
|
51 |