@@ -3,7 +3,8 @@ |
||
| 3 | 3 | |
| 4 | 4 | namespace Nexendrie\Translation; |
| 5 | 5 | |
| 6 | -if(false) { // @phpstan-ignore if.alwaysFalse |
|
| 6 | +if(false) { |
|
| 7 | +// @phpstan-ignore if.alwaysFalse |
|
| 7 | 8 | /** @deprecated Use FileLoader */ |
| 8 | 9 | interface IFileLoader extends FileLoader { |
| 9 | 10 | } |
@@ -3,7 +3,8 @@ |
||
| 3 | 3 | |
| 4 | 4 | namespace Nexendrie\Translation; |
| 5 | 5 | |
| 6 | -if(false) { // @phpstan-ignore if.alwaysFalse |
|
| 6 | +if(false) { |
|
| 7 | +// @phpstan-ignore if.alwaysFalse |
|
| 7 | 8 | /** @deprecated Use Loader */ |
| 8 | 9 | interface ILoader extends Loader { |
| 9 | 10 | } |
@@ -3,7 +3,8 @@ |
||
| 3 | 3 | |
| 4 | 4 | namespace Nexendrie\Translation\Bridges\NetteDI; |
| 5 | 5 | |
| 6 | -if(false) { // @phpstan-ignore if.alwaysFalse |
|
| 6 | +if(false) { |
|
| 7 | +// @phpstan-ignore if.alwaysFalse |
|
| 7 | 8 | /** @deprecated Use TranslationProvider */ |
| 8 | 9 | interface ITranslationProvider extends TranslationProvider { |
| 9 | 10 | } |
@@ -3,7 +3,8 @@ |
||
| 3 | 3 | |
| 4 | 4 | namespace Nexendrie\Translation\Bridges\NetteApplication; |
| 5 | 5 | |
| 6 | -if(false) { // @phpstan-ignore if.alwaysFalse |
|
| 6 | +if(false) { |
|
| 7 | +// @phpstan-ignore if.alwaysFalse |
|
| 7 | 8 | /** @deprecated Use AppRequestAwareLocaleResolver */ |
| 8 | 9 | interface IAppRequestAwareLocaleResolver extends AppRequestAwareLocaleResolver { |
| 9 | 10 | } |
@@ -26,15 +26,15 @@ |
||
| 26 | 26 | |
| 27 | 27 | public function __construct(private readonly Loader $loader, private readonly IMessageSelector $messageSelector = new MessageSelector()) { |
| 28 | 28 | } |
| 29 | - /** |
|
| 30 | - * @deprecated Access the property directly |
|
| 31 | - */ |
|
| 29 | + /** |
|
| 30 | + * @deprecated Access the property directly |
|
| 31 | + */ |
|
| 32 | 32 | public function getLang(): string { |
| 33 | 33 | return $this->loader->getLang(); |
| 34 | 34 | } |
| 35 | - /** |
|
| 36 | - * @deprecated Access the property directly |
|
| 37 | - */ |
|
| 35 | + /** |
|
| 36 | + * @deprecated Access the property directly |
|
| 37 | + */ |
|
| 38 | 38 | public function setLang(string $lang): void { |
| 39 | 39 | $this->loader->setLang($lang); |
| 40 | 40 | } |
@@ -3,7 +3,8 @@ |
||
| 3 | 3 | |
| 4 | 4 | namespace Nexendrie\Translation; |
| 5 | 5 | |
| 6 | -if(false) { // @phpstan-ignore if.alwaysFalse |
|
| 6 | +if(false) { |
|
| 7 | +// @phpstan-ignore if.alwaysFalse |
|
| 7 | 8 | /** @deprecated Use LocaleResolver */ |
| 8 | 9 | interface ILocaleResolver extends LocaleResolver { |
| 9 | 10 | } |