File tree Expand file tree Collapse file tree 1 file changed +18
-16
lines changed Expand file tree Collapse file tree 1 file changed +18
-16
lines changed Original file line number Diff line number Diff line change 77
88declare (strict_types=1 );
99
10- namespace Nette \Utils {
11- if ( false ) {
12- /** @deprecated use Nette\HtmlStringable */
13- interface IHtmlString
14- {
15- }
16- } elseif (! interface_exists ( IHtmlString::class)) {
17- class_alias (\ Nette \HtmlStringable::class, IHtmlString::class);
10+ namespace Nette \Utils ;
11+
12+ use Nette ;
13+
14+ if ( false ) {
15+ /** @deprecated use Nette\HtmlStringable */
16+ interface IHtmlString extends Nette \HtmlStringable
17+ {
1818 }
19+ } elseif (!interface_exists (IHtmlString::class)) {
20+ class_alias (Nette \HtmlStringable::class, IHtmlString::class);
1921}
2022
21- namespace Nette \Localization {
22- if (false ) {
23- /** @deprecated use Nette\Localization\Translator */
24- interface ITranslator
25- {
26- }
27- } elseif (!interface_exists (ITranslator::class)) {
28- class_alias (Translator::class, ITranslator::class);
23+ namespace Nette \Localization ;
24+
25+ if (false ) {
26+ /** @deprecated use Nette\Localization\Translator */
27+ interface ITranslator extends Translator
28+ {
2929 }
30+ } elseif (!interface_exists (ITranslator::class)) {
31+ class_alias (Translator::class, ITranslator::class);
3032}
You can’t perform that action at this time.
0 commit comments