| Total Complexity | 3 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 80% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | 1 | final class ManualLocaleResolver implements ISettableLocaleResolver { |
|
| 15 | use \Nette\SmartObject; |
||
| 16 | |||
| 17 | public ?string $lang = null; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @deprecated Access the property directly |
||
| 21 | */ |
||
| 22 | public function getLang(): ?string { |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @deprecated Access the property directly |
||
| 28 | */ |
||
| 29 | public function setLang(?string $lang): void { |
||
| 31 | 1 | } |
|
| 32 | |||
| 33 | public function resolve(): ?string { |
||
| 37 | ?> |