Skip to content

Commit

Permalink
Merge pull request FriendsOfSymfony#67 from kwattro/form
Browse files Browse the repository at this point in the history
arguments in createNamed method are reversed in 2.1
  • Loading branch information
stof committed Jun 24, 2012
2 parents 3cd67df + f437464 commit ce83090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/config/authorize.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

<services>
<service id="fos_oauth_server.authorize.form" factory-method="createNamed" factory-service="form.factory" class="Symfony\Component\Form\Form">
<argument>%fos_oauth_server.authorize.form.type%</argument>
<argument>%fos_oauth_server.authorize.form.name%</argument>
<argument>%fos_oauth_server.authorize.form.type%</argument>
<argument />
<argument type="collection">
<argument key="validation_groups">%fos_oauth_server.authorize.form.validation_groups%</argument>
Expand Down

0 comments on commit ce83090

Please sign in to comment.