| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 35 | protected function resolve_pattern( |
||
| 36 | string|DateTimeFormatLength|DateTimeFormatId $pattern_or_length_or_id |
||
| 37 | ): string { |
||
| 38 | if ($pattern_or_length_or_id instanceof DateTimeFormatLength) { |
||
| 39 | return $this->calendar['dateFormats'][$pattern_or_length_or_id->value]; |
||
| 40 | } |
||
| 41 | |||
| 42 | return parent::resolve_pattern($pattern_or_length_or_id); |
||
| 43 | } |
||
| 45 |