| Conditions | 3 |
| Paths | 3 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | public function normalize($ruleValue, string $ruleName = ''): array |
||
| 22 | { |
||
| 23 | if (null === $this->normalized) { |
||
| 24 | if (\in_array($ruleValue, ['none', 'solid', 'dashed', 'dotted'])) { |
||
| 25 | $style = $ruleValue; |
||
| 26 | } else { |
||
| 27 | $style = 'none'; |
||
| 28 | } |
||
| 29 | return $this->normalized = ['border-bottom-style' => $style]; |
||
| 30 | } |
||
| 31 | return $this->normalized; |
||
| 32 | } |
||
| 34 |