Skip to content

Commit

Permalink
Update PyriteKernel.php
Browse files Browse the repository at this point in the history
  • Loading branch information
jjsaunier committed Jan 28, 2016
1 parent 27d243f commit b59f3ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Kernel/PyriteKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function handle(Request $request, $type = self::MASTER_REQUEST, $catch =

try{
/** @var EventDispatcherInterface $dispatcher */
$dispatcher = $this->container->get('EventDispatcher');
$dispatcher = $this->container->get('KernelEventDispatcher');
$dispatcher->dispatch(KernelEvents::REQUEST, new KernelEvent($this, $request, HttpKernelInterface::MASTER_REQUEST));
} catch (UnknownDefinitionException $e) {

Expand Down

0 comments on commit b59f3ff

Please sign in to comment.