Skip to content

Commit

Permalink
Merge pull request #1 from nicosomb/patch-1
Browse files Browse the repository at this point in the history
Removed OptionsResolverInterface usage
  • Loading branch information
K-Phoen committed Oct 9, 2017
2 parents 1651d01 + cf9fb96 commit f893851
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Form/SpecTypeExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use Symfony\Component\Form\AbstractTypeExtension;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
use Symfony\Component\Form\Extension\Core\Type\FormType;

class SpecTypeExtension extends AbstractTypeExtension
Expand All @@ -18,7 +17,7 @@ public function configureOptions(OptionsResolver $resolver)
$this->setDefaultOptions($resolver);
}

public function setDefaultOptions(OptionsResolverInterface $resolver)
public function setDefaultOptions(OptionsResolver $resolver)
{
$resolver->setDefaults([
'spec_transformer' => 'string', // string, array, boolean
Expand Down

0 comments on commit f893851

Please sign in to comment.