8000 Changed RouterInterface to UrlGeneratorInterface · symfony/symfony@3218359 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3218359

Browse files
Changed RouterInterface to UrlGeneratorInterface
1 parent 944d388 commit 3218359

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff AF27 line numberDiff line change
@@ -20,7 +20,6 @@
2020
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
2121
use Symfony\Component\HttpKernel\Profiler\Profiler;
2222
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
23-
use Symfony\Component\Routing\RouterInterface;
2423
use Twig\Environment;
2524

2625
/**
@@ -165,7 +164,7 @@ public function toolbarAction(Request $request, $token)
165164

166165
$url = null;
167166
try {
168-
$url = $this->generator->generate('_profiler', ['token' => $token], RouterInterface::ABSOLUTE_URL);
167+
$url = $this->generator->generate('_profiler', ['token' => $token], UrlGeneratorInterface::ABSOLUTE_URL);
169168
} catch (\Exception $e) {
170169
// the profiler is not enabled
171170
}

0 commit comments

Comments
 (0)
0