Skip to content

Commit 085440e

Browse files
committed
compatibility: improved code hinting
1 parent 45950b3 commit 085440e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/compatibility-intf.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111

1212
if (false) {
1313
/** @deprecated use Nette\Routing\Router */
14-
interface IRouter
14+
interface IRouter extends \Nette\Routing\Router
1515
{
1616
}
1717

1818
/** @deprecated use Nette\Application\Response */
19-
interface IResponse
19+
interface IResponse extends Response
2020
{
2121
}
2222
} elseif (!interface_exists(IRouter::class)) {
@@ -28,27 +28,27 @@ class_alias(Response::class, IResponse::class);
2828

2929
if (false) {
3030
/** @deprecated use Nette\Application\UI\Renderable */
31-
interface IRenderable
31+
interface IRenderable extends Renderable
3232
{
3333
}
3434

3535
/** @deprecated use Nette\Application\UI\SignalReceiver */
36-
interface ISignalReceiver
36+
interface ISignalReceiver extends SignalReceiver
3737
{
3838
}
3939

4040
/** @deprecated use Nette\Application\UI\StatePersistent */
41-
interface IStatePersistent
41+
interface IStatePersistent extends StatePersistent
4242
{
4343
}
4444

4545
/** @deprecated use Nette\Application\UI\Template */
46-
interface ITemplate
46+
interface ITemplate extends Template
4747
{
4848
}
4949

5050
/** @deprecated use Nette\Application\UI\TemplateFactory */
51-
interface ITemplateFactory
51+
interface ITemplateFactory extends TemplateFactory
5252
{
5353
}
5454
} elseif (!interface_exists(IRenderable::class)) {
@@ -63,7 +63,7 @@ class_alias(TemplateFactory::class, ITemplateFactory::class);
6363

6464
if (false) {
6565
/** @deprecated use Nette\Bridges\ApplicationLatte\LatteFactory */
66-
interface ILatteFactory
66+
interface ILatteFactory extends LatteFactory
6767
{
6868
}
6969
} elseif (!interface_exists(ILatteFactory::class)) {

0 commit comments

Comments
 (0)