Commit 222e58b4 authored by Fabien Potencier's avatar Fabien Potencier

fixed typo

parent f04ee841
...@@ -87,7 +87,7 @@ class Application extends \Pimple implements HttpKernelInterface, EventSubscribe ...@@ -87,7 +87,7 @@ class Application extends \Pimple implements HttpKernelInterface, EventSubscribe
$this['dispatcher_class'] = 'Symfony\\Component\\EventDispatcher\\EventDispatcher'; $this['dispatcher_class'] = 'Symfony\\Component\\EventDispatcher\\EventDispatcher';
$this['dispatcher'] = $this->share(function () use ($app) { $this['dispatcher'] = $this->share(function () use ($app) {
$dispatcher = new $this['dispatcher_class'](); $dispatcher = new $app['dispatcher_class']();
$dispatcher->addSubscriber($app); $dispatcher->addSubscriber($app);
$urlMatcher = new LazyUrlMatcher(function () use ($app) { $urlMatcher = new LazyUrlMatcher(function () use ($app) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment