Conditions | 1 |
Paths | 1 |
Total Lines | 5 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
91 | public static function getCurrentApp(): UserCompanyApps |
||
92 | { |
||
93 | return self::findFirst([ |
||
1 ignored issue
–
show
|
|||
94 | 'conditions' => 'company_id = ?0 and apps_id = ?1', |
||
95 | 'bind' => [Di::getDefault()->getUserData()->defaultCompany->getId(), Di::getDefault()->getApp()->getId()] |
||
96 | ]); |
||
99 |