Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Sep 18, 2012
1 parent f04ee84 commit 222e58b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Silex/Application.php
Expand Up @@ -87,7 +87,7 @@ public function __construct()

$this['dispatcher_class'] = 'Symfony\\Component\\EventDispatcher\\EventDispatcher';
$this['dispatcher'] = $this->share(function () use ($app) {
$dispatcher = new $this['dispatcher_class']();
$dispatcher = new $app['dispatcher_class']();
$dispatcher->addSubscriber($app);

$urlMatcher = new LazyUrlMatcher(function () use ($app) {
Expand Down

0 comments on commit 222e58b

Please sign in to comment.