From 176a3d435e38f9dc0fce83a81603c3dfd20cf6f3 Mon Sep 17 00:00:00 2001 From: Tobias Schultze Date: Tue, 28 May 2013 21:36:15 +0200 Subject: [PATCH] [Console] fix typehint for Application::setDispatcher --- src/Symfony/Component/Console/Application.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/Console/Application.php b/src/Symfony/Component/Console/Application.php index 5c232698e2..7b231ef01a 100644 --- a/src/Symfony/Component/Console/Application.php +++ b/src/Symfony/Component/Console/Application.php @@ -33,7 +33,7 @@ use Symfony\Component\Console\Helper\TableHelper; use Symfony\Component\Console\Event\ConsoleCommandEvent; use Symfony\Component\Console\Event\ConsoleForExceptionEvent; use Symfony\Component\Console\Event\ConsoleTerminateEvent; -use Symfony\Component\EventDispatcher\EventDispatcher; +use Symfony\Component\EventDispatcher\EventDispatcherInterface; /** * An Application is the container for a collection of commands. @@ -88,7 +88,7 @@ class Application } } - public function setDispatcher(EventDispatcher $dispatcher) + public function setDispatcher(EventDispatcherInterface $dispatcher) { $this->dispatcher = $dispatcher; }