| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 76 | 3 | public static function getDefaultAppsSettingsByName(string $name): string |
|
| 77 | { |
||
| 78 | 3 | return self::findFirst([ |
|
|
1 ignored issue
–
show
|
|||
| 79 | 3 | 'conditions'=>'apps_id = ?0 and name = ?1 and is_deleted = 0', |
|
| 80 | 3 | 'bind'=>[Apps::GEWAER_DEFAULT_APP_ID,$name] |
|
| 81 | 3 | ])->value; |
|
| 82 | } |
||
| 84 |