| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 53 | protected function normalizeSiteConfig($config = []): array |
||
| 54 | { |
||
| 55 | return [ |
||
| 56 | 'enabled' => !empty($config['enabled'] ?? null), |
||
| 57 | 'hasUrls' => !empty($config['uriFormat'] ?? null), |
||
| 58 | 'uriFormat' => $config['uriFormat'] ?? null, |
||
| 59 | 'template' => $config['template'] ?? null |
||
| 60 | ]; |
||
| 61 | } |
||
| 62 | } |
||
| 63 |