Skip to content

Commit

Permalink
Remove priorities from event listeners
Browse files Browse the repository at this point in the history
  • Loading branch information
jsor committed Nov 3, 2014
1 parent f9cb9e0 commit 7b79b5b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/EventListener/ExceptionConversionListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function onKernelException(GetResponseForExceptionEvent $event)
public static function getSubscribedEvents()
{
return array(
KernelEvents::EXCEPTION => array('onKernelException', -254),
KernelEvents::EXCEPTION => 'onKernelException',
);
}
}
2 changes: 1 addition & 1 deletion src/EventListener/RequestFormatValidationListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function onKernelRequest(GetResponseEvent $event)
public static function getSubscribedEvents()
{
return array(
KernelEvents::REQUEST => array('onKernelRequest', 11)
KernelEvents::REQUEST => 'onKernelRequest'
);
}
}
2 changes: 1 addition & 1 deletion src/EventListener/ResponseConversionListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function onKernelView(GetResponseForControllerResultEvent $event)
public static function getSubscribedEvents()
{
return array(
KernelEvents::VIEW => array('onKernelView', -11),
KernelEvents::VIEW => 'onKernelView'
);
}
}

0 comments on commit 7b79b5b

Please sign in to comment.