[FrameworkBundle] Fixed typo in ProfileListener

This commit is contained in:
John Wards 2011-03-17 21:39:30 +00:00 committed by Bernhard Schussek
parent 380afc5e95
commit cd3e184b76

View File

@ -14,7 +14,7 @@ namespace Symfony\Bundle\FrameworkBundle\Profiler;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\HttpKernelInterface;
use Symfony\Component\HttpKernel\Event\GetResponseEvent;
use Symfony\Component\HttpKernel\Event\GetResponseFromExceptionEvent;
use Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent;
use Symfony\Component\HttpKernel\Event\FilterResponseEvent;
use Symfony\Component\HttpFoundation\RequestMatcherInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
@ -61,9 +61,9 @@ class ProfilerListener
/**
* Handles the onCoreException event.
*
* @param GetResponseFromExceptionEvent $event A GetResponseFromExceptionEvent instance
* @param GetResponseForExceptionEvent $event A GetResponseForExceptionEvent instance
*/
public function onCoreException(GetResponseFromExceptionEvent $event)
public function onCoreException(GetResponseForExceptionEvent $event)
{
if (HttpKernelInterface::MASTER_REQUEST !== $event->getRequestType()) {
return;