| Conditions | 3 |
| Paths | 3 |
| Total Lines | 9 |
| Code Lines | 5 |
| 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, ['collapse', 'separate', 'inherit'])) { |
||
| 25 | $ruleValue = 'separate'; |
||
| 26 | } |
||
| 27 | return $this->normalized = ['border-collapse' => $ruleValue]; |
||
| 28 | } |
||
| 29 | return $this->normalized; |
||
| 30 | } |
||
| 32 |