[TwigBundle] Made docblock for findTemplate() more general and accurate

Bug fix: no
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: [![Build Status](https://secure.travis-ci.org/lencioni/symfony.png)](http://travis-ci.org/lencioni/symfony)
Fixes the following tickets: -
Todo: -
This commit is contained in:
Joe Lencioni 2012-03-22 07:58:46 -05:00
parent 5910ac91d7
commit 1422133ad0

View File

@ -11,12 +11,12 @@
namespace Symfony\Bundle\TwigBundle\Controller; namespace Symfony\Bundle\TwigBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Templating\EngineInterface;
use Symfony\Bundle\FrameworkBundle\Templating\TemplateReference; use Symfony\Bundle\FrameworkBundle\Templating\TemplateReference;
use Symfony\Component\DependencyInjection\ContainerAware; use Symfony\Component\DependencyInjection\ContainerAware;
use Symfony\Component\HttpKernel\Exception\FlattenException; use Symfony\Component\HttpKernel\Exception\FlattenException;
use Symfony\Component\HttpKernel\Log\DebugLoggerInterface; use Symfony\Component\HttpKernel\Log\DebugLoggerInterface;
use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Response;
use Symfony\Bundle\TwigBundle\TwigEngine;
/** /**
* ExceptionController. * ExceptionController.
@ -81,10 +81,10 @@ class ExceptionController extends ContainerAware
} }
/** /**
* @param TwigEngine $templating * @param EngineInterface $templating
* @param string $format * @param string $format
* @param integer $code An HTTP response status code * @param integer $code An HTTP response status code
* @param Boolean $debug * @param Boolean $debug
* *
* @return TemplateReference * @return TemplateReference
*/ */