Skip to content

Commit e9a978b

Browse files
committed
[FrameworkBundle] Use Router instead of RouterInterface
1 parent 15ad2bf commit e9a978b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Command/RouterApacheDumperCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use Symfony\Component\Console\Output\OutputInterface;
1818
use Symfony\Component\Console\Output\Output;
1919
use Symfony\Component\Routing\Matcher\Dumper\ApacheMatcherDumper;
20-
use Symfony\Component\Routing\RouterInterface;
20+
use Symfony\Component\Routing\Router;
2121

2222
/**
2323
* RouterApacheDumperCommand.
@@ -35,7 +35,7 @@ public function isEnabled()
3535
return false;
3636
}
3737
$router = $this->getContainer()->get('router');
38-
if (!$router instanceof RouterInterface) {
38+
if (!$router instanceof Router) {
3939
return false;
4040
}
4141
return parent::isEnabled();

Command/RouterDebugCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use Symfony\Component\Console\Output\OutputInterface;
1818
use Symfony\Component\Console\Output\Output;
1919
use Symfony\Component\Routing\Matcher\Dumper\ApacheMatcherDumper;
20-
use Symfony\Component\Routing\RouterInterface;
20+
use Symfony\Component\Routing\Router;
2121

2222
/**
2323
* A console command for retrieving information about routes
@@ -35,7 +35,7 @@ public function isEnabled()
3535
return false;
3636
}
3737
$router = $this->getContainer()->get('router');
38-
if (!$router instanceof RouterInterface) {
38+
if (!$router instanceof Router) {
3939
return false;
4040
}
4141
return parent::isEnabled();

0 commit comments

Comments
 (0)