Skip to content

Commit

Permalink
Changed class type to quoted string string (#43)
Browse files Browse the repository at this point in the history
The answer  "$builder->add('extra', hidden, ['mapped' => false])" makes a confusion, it should be quoted to look as a correct answer.
  • Loading branch information
a-ast authored and mickaelandrieu committed Dec 6, 2016
1 parent 8e88a92 commit 390ec41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/forms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,5 @@ questions:
question: 'How to add an extra field `extra` with the form ?'
answers:
- {value: "$builder->add('extra', null, ['mapped' => false])", correct: true}
- {value: "$builder->add('extra', hidden, ['mapped' => false])", correct: true}
- {value: "$builder->add('extra', 'hidden', ['mapped' => false])", correct: true}
- {value: "$builder->add('extra', null, ['validation' => false]", correct: false}

0 comments on commit 390ec41

Please sign in to comment.