fixed MergeCollectionListener typos

This commit is contained in:
Fabien Potencier 2011-08-30 14:43:38 +02:00
parent 445e3cc791
commit 88280be0a0

View file

@ -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)