Skip to content

Commit

Permalink
[Console] fix typehint for Application::setDispatcher
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobion committed May 28, 2013
1 parent 395ec40 commit 176a3d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Symfony/Component/Console/Application.php
Expand Up @@ -33,7 +33,7 @@
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.
Expand Down Expand Up @@ -88,7 +88,7 @@ public function __construct($name = 'UNKNOWN', $version = 'UNKNOWN')
}
}

public function setDispatcher(EventDispatcher $dispatcher)
public function setDispatcher(EventDispatcherInterface $dispatcher)
{
$this->dispatcher = $dispatcher;
}
Expand Down

0 comments on commit 176a3d4

Please sign in to comment.