| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 37 | public function decorateOptions(array $siteOptions, City $city): array |
||
| 38 | { |
||
| 39 | $siteOptions['title'] = $city->getTitle() ?? $siteOptions['title']; |
||
| 40 | $siteOptions['meta_title'] = $city->getMetaTitle() ?? $city->getName(); |
||
| 41 | $siteOptions['meta_description'] = $city->getMetaDescription() ?? $siteOptions['meta_description']; |
||
| 42 | |||
| 43 | return $siteOptions; |
||
| 44 | } |
||
| 46 |