Skip to content

Commit

Permalink
[Form] Remove arg from getDefaultOptions()
Browse files Browse the repository at this point in the history
  • Loading branch information
jmikola committed Apr 12, 2012
1 parent 4df0211 commit 3307ddf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Form/NewTopicFormType.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function buildForm(FormBuilder $builder, array $options)
$builder->add('firstPost', $options['post_form'], array('data_class' => $options['post_class']));
}

public function getDefaultOptions(array $options)
public function getDefaultOptions()
{
return array(
'post_class' => '',
Expand Down
2 changes: 1 addition & 1 deletion Form/SearchFormType.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public function buildForm(FormBuilder $builder, array $options)
$builder->add('query', 'text');
}

public function getDefaultOptions(array $options)
public function getDefaultOptions()
{
return array(
'data_class' => 'Herzult\Bundle\ForumBundle\Search\Search',
Expand Down

0 comments on commit 3307ddf

Please sign in to comment.