From 51b610f8ba8f14985f1aecd86bf16bda3a823b87 Mon Sep 17 00:00:00 2001 From: Tobias Schultze Date: Tue, 3 Jul 2012 13:04:37 +0300 Subject: [PATCH] [Profiler] fix typehint --- .../Bundle/WebProfilerBundle/Profiler/TemplateManager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Bundle/WebProfilerBundle/Profiler/TemplateManager.php b/src/Symfony/Bundle/WebProfilerBundle/Profiler/TemplateManager.php index 0cf92ea13d..badbb65f04 100644 --- a/src/Symfony/Bundle/WebProfilerBundle/Profiler/TemplateManager.php +++ b/src/Symfony/Bundle/WebProfilerBundle/Profiler/TemplateManager.php @@ -14,7 +14,7 @@ namespace Symfony\Bundle\WebProfilerBundle\Profiler; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; use Symfony\Component\HttpKernel\Profiler\Profiler; use Symfony\Component\HttpKernel\Profiler\Profile; -use Symfony\Bundle\TwigBundle\TwigEngine; +use Symfony\Component\Templating\EngineInterface; /** * Profiler Templates Manager @@ -37,7 +37,7 @@ class TemplateManager * @param \Twig_Environment $twig * @param array $templates */ - public function __construct(Profiler $profiler, TwigEngine $templating, \Twig_Environment $twig, array $templates) + public function __construct(Profiler $profiler, EngineInterface $templating, \Twig_Environment $twig, array $templates) { $this->profiler = $profiler; $this->templating = $templating;