Skip to content

Commit

Permalink
Increase priority of AddRequestFormatsListener
Browse files Browse the repository at this point in the history
  • Loading branch information
thewilkybarkid committed Nov 12, 2018
1 parent 893237d commit 7e9e2c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -45,6 +45,6 @@ public function onKernelRequest(GetResponseEvent $event)
*/
public static function getSubscribedEvents()
{
return array(KernelEvents::REQUEST => array('onKernelRequest', 1));
return array(KernelEvents::REQUEST => array('onKernelRequest', 100));
}
}
Expand Up @@ -46,7 +46,7 @@ public function testIsAnEventSubscriber()
public function testRegisteredEvent()
{
$this->assertEquals(
array(KernelEvents::REQUEST => array('onKernelRequest', 1)),
array(KernelEvents::REQUEST => array('onKernelRequest', 100)),
AddRequestFormatsListener::getSubscribedEvents()
);
}
Expand Down

0 comments on commit 7e9e2c3

Please sign in to comment.