Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Adrien Clairembault <42734840+AdrienClairembault@users.noreply.github.com>
  • Loading branch information
ccailly and AdrienClairembault committed May 6, 2024
1 parent 6e758eb commit 0807fbc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Form/QuestionType/QuestionTypeRequestType.php
Expand Up @@ -40,9 +40,6 @@
use Override;
use Ticket;

/**
* Long answers are multiple lines inputs used to answer questions with as much details as needed.
*/
final class QuestionTypeRequestType extends AbstractQuestionType
{
/**
Expand Down Expand Up @@ -101,7 +98,7 @@ public function renderEndUserTemplate(Question $question): string
{% import 'components/form/fields_macros.html.twig' as fields %}
{{ fields.dropdownArrayField(
'answers[' ~ question.fields.id ~ ']',
question.getEndUserInputName(),
value,
request_types,
'',
Expand Down

0 comments on commit 0807fbc

Please sign in to comment.