fixed MergeCollectionListener typos
This commit is contained in:
parent
445e3cc791
commit
88280be0a0
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace Propel\PropelBundle\Form\EventListener;
|
||||
|
||||
use Symfony\Component\Form\Events;
|
||||
use Symfony\Component\Form\FormEvents;
|
||||
use Symfony\Component\Form\Event\FilterDataEvent;
|
||||
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||
|
||||
|
@ -10,7 +10,7 @@ class MergeCollectionListener implements EventSubscriberInterface
|
|||
{
|
||||
public static function getSubscribedEvents()
|
||||
{
|
||||
return Events::onBindNormData;
|
||||
return array(FormEvents::BIND_NORM_DATA => 'onBindNormData');
|
||||
}
|
||||
|
||||
public function onBindNormData(FilterDataEvent $event)
|
||||
|
|
Loading…
Reference in a new issue