vendor update

This commit is contained in:
Polonkai Gergely
2012-07-23 15:46:14 +02:00
parent b9e6708ffd
commit 08385f076f
9 changed files with 147 additions and 88 deletions

View File

@@ -3,7 +3,7 @@ namespace KekRozsak\FrontBundle\Form\Extension;
use Symfony\Component\Form\AbstractTypeExtension;
use Symfony\Component\Form\FormInterface;
use Symfony\Component\Form\FormViewInterface;
use Symfony\Component\Form\FormView;
use Symfony\Component\Form\FormBuilderInterface;
class HelpMessageTypeExtension extends AbstractTypeExtension
@@ -13,9 +13,9 @@ class HelpMessageTypeExtension extends AbstractTypeExtension
$builder->setAttribute('help', $options['help']);
}
public function buildView(FormViewInterface $view, FormInterface $form, array $options)
public function buildView(FormView $view, FormInterface $form, array $options)
{
$view->setVar('help', $form->getAttribute('help'));
$view->set('help', $form->getAttribute('help'));
}
public function getDefaultOptions()