[Profiler] fix typehint

This commit is contained in:
Tobias Schultze 2012-07-03 13:04:37 +03:00
parent 11e8a33c7c
commit 51b610f8ba

View File

@ -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;