Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Update to 2.1 API #1417

Merged
merged 1 commit into from

2 participants

@tacman

(replace FormBuilder type hint with FormBuilderInterface, update use)

@weaverryan weaverryan merged commit 0e043a7 into symfony:master
@weaverryan
Collaborator

Hey Tac!

Perfect, thanks! There are a bunch more we'll need to root out and fine - I open up #1418 in response to that.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 30, 2012
  1. @tacman
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 book/forms.rst
View
4 book/forms.rst
@@ -795,11 +795,11 @@ that will house the logic for building the task form:
namespace Acme\TaskBundle\Form\Type;
use Symfony\Component\Form\AbstractType;
- use Symfony\Component\Form\FormBuilder;
+ use Symfony\Component\Form\FormBuilderInterface;
class TaskType extends AbstractType
{
- public function buildForm(FormBuilder $builder, array $options)
+ public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder->add('task');
$builder->add('dueDate', null, array('widget' => 'single_text'));
Something went wrong with that request. Please try again.