Skip to content
This repository has been archived by the owner on Jan 6, 2020. It is now read-only.

Commit

Permalink
merged branch vicb/form_update (PR #38)
Browse files Browse the repository at this point in the history
Commits
-------

73ab597 [Form] Update to the 2.1 new API (fix #37)

Discussion
----------

[Form] Update to the 2.1 new API (fix #37)
  • Loading branch information
fabpot committed May 29, 2012
2 parents b35ee44 + 73ab597 commit 7d75b22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Configurator/Form/DoctrineStepType.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

use Sensio\Bundle\DistributionBundle\Configurator\Step\DoctrineStep;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilder;
use Symfony\Component\Form\FormBuilderInterface;

/**
* Doctrine Form Type.
Expand All @@ -22,7 +22,7 @@
*/
class DoctrineStepType extends AbstractType
{
public function buildForm(FormBuilder $builder, array $options)
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder
->add('driver', 'choice', array('choices' => DoctrineStep::getDrivers()))
Expand Down
4 changes: 2 additions & 2 deletions Configurator/Form/SecretStepType.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
namespace Sensio\Bundle\DistributionBundle\Configurator\Form;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilder;
use Symfony\Component\Form\FormBuilderInterface;

/**
* Secret Form Type.
Expand All @@ -21,7 +21,7 @@
*/
class SecretStepType extends AbstractType
{
public function buildForm(FormBuilder $builder, array $options)
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder->add('secret', 'text');
}
Expand Down

0 comments on commit 7d75b22

Please sign in to comment.