Permalink
Browse files

Fix ExpressCheckoutType buildForm to keep up with Symfony Form compon…

…ent formTypeInterface.
  • Loading branch information...
petesiss committed May 30, 2012
1 parent 90438a7 commit 6479725994335640e10c6199337f598cd1f567e2
Showing with 3 additions and 3 deletions.
  1. +3 −3 Form/ExpressCheckoutType.php
@@ -2,8 +2,8 @@
namespace JMS\Payment\PaypalBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilder;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
/**
* Type for Paypal Express Checkout.
@@ -12,7 +12,7 @@
*/
class ExpressCheckoutType extends AbstractType
{
public function buildForm(FormBuilder $builder, array $options)
public function buildForm(FormBuilderInterface $builder, array $options)
{
}

3 comments on commit 6479725

@Spea

This comment has been minimized.

Show comment
Hide comment
@Spea

Spea Jun 27, 2012

This makes the bundle incompatible with symfony 2.0.x. Is this wanted?

Spea replied Jun 27, 2012

This makes the bundle incompatible with symfony 2.0.x. Is this wanted?

@schmittjoh

This comment has been minimized.

Show comment
Hide comment
@schmittjoh

schmittjoh Jun 27, 2012

Owner

For this feature, I don't think it's worth the effort to change it. Please copy/paste the code to your project, or upgrade to the Symfony 2.1 beta.

Owner

schmittjoh replied Jun 27, 2012

For this feature, I don't think it's worth the effort to change it. Please copy/paste the code to your project, or upgrade to the Symfony 2.1 beta.

@Spea

This comment has been minimized.

Show comment
Hide comment
@Spea

Spea Jun 27, 2012

Ok, thank you.

Spea replied Jun 27, 2012

Ok, thank you.

Please sign in to comment.