| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 63 | 1 | protected function fieldEnablePublicProjects(Model\Setting $setting) |
|
| 64 | { |
||
| 65 | return [ |
||
| 66 | 1 | 'type' => 'select', |
|
| 67 | 1 | 'label' => $setting->name, |
|
| 68 | 1 | 'value' => $setting->value, |
|
| 69 | 1 | 'options' => [Model\Setting::ENABLE => trans('tinyissue.enable'), Model\Setting::DISABLE => trans('tinyissue.disable')], |
|
| 70 | ]; |
||
| 71 | } |
||
| 72 | |||
| 92 |