Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

Commit ec71eb9

Browse files
authored
Update ErrorLogSubscriber.php
1 parent 134bb91 commit ec71eb9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

EventListener/ErrorLogSubscriber.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ public function __construct(ErrorLogInterface $logger, RequestStack $request)
3030

3131
public static function getSubscribedEvents()
3232
{
33-
return array(FormEvents::POST_BIND => 'postBind');
33+
return array(FormEvents::POST_SUBMIT => 'postSubmit');
3434
}
3535

3636
/**
3737
*
3838
* @param \Symfony\Component\Form\FormEvent $event
3939
* @return null
4040
*/
41-
public function postBind(FormEvent $event)
41+
public function postSubmit(FormEvent $event)
4242
{
4343
$form = $event->getForm();
4444

0 commit comments

Comments
 (0)