| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 22 | public static function module_styles(array $args): void |
||
| 23 | { |
||
| 24 | parent::module_styles($args); |
||
| 25 | $args = glsr(ModuleStylesDefaults::class)->merge($args); |
||
| 26 | $elements = $args['elements']; |
||
| 27 | Style::add([ |
||
| 28 | 'id' => $args['id'], |
||
| 29 | 'name' => $args['name'], |
||
| 30 | 'orderIndex' => $args['orderIndex'], |
||
| 31 | 'storeInstance' => $args['storeInstance'], |
||
| 32 | 'styles' => [ |
||
| 33 | $elements->style([ |
||
| 34 | 'attrName' => 'button', |
||
| 35 | ]), |
||
| 49 |